Car blocked

I’ll get the car in the garage. I leave him and I can not enter. I installed the locksystem and I’m sure I should change some things. But I’m lost.

local Keys = {
[“ESC”] = 322, [“F1”] = 288, [“F2”] = 289, [“F3”] = 170, [“F5”] = 166, [“F6”] = 167, [“F7”] = 168, [“F8”] = 169, [“F9”] = 56, [“F10”] = 57,
["~"] = 243, [“1”] = 157, [“2”] = 158, [“3”] = 160, [“4”] = 164, [“5”] = 165, [“6”] = 159, [“7”] = 161, [“8”] = 162, [“9”] = 163, ["-"] = 84, ["="] = 83, [“BACKSPACE”] = 177,
[“TAB”] = 37, [“Q”] = 44, [“W”] = 32, [“E”] = 38, [“R”] = 45, [“T”] = 245, [“Y”] = 246, [“U”] = 303, [“P”] = 199, ["["] = 39, ["]"] = 40, [“ENTER”] = 18,
[“CAPS”] = 137, [“A”] = 34, [“S”] = 8, [“D”] = 9, [“F”] = 23, [“G”] = 47, [“H”] = 74, [“K”] = 311, [“L”] = 182,
[“LEFTSHIFT”] = 21, [“Z”] = 20, [“X”] = 73, [“C”] = 26, [“V”] = 0, [“B”] = 29, [“N”] = 249, [“M”] = 244, [","] = 82, ["."] = 81,
[“LEFTCTRL”] = 36, [“LEFTALT”] = 19, [“SPACE”] = 22, [“RIGHTCTRL”] = 70,
[“HOME”] = 213, [“PAGEUP”] = 10, [“PAGEDOWN”] = 11, [“DELETE”] = 178,
[“LEFT”] = 174, [“RIGHT”] = 175, [“TOP”] = 27, [“DOWN”] = 173,
[“NENTER”] = 201, [“N4”] = 108, [“N5”] = 60, [“N6”] = 107, [“N+”] = 96, [“N-”] = 97, [“N7”] = 117, [“N8”] = 61, [“N9”] = 118
}

local notificationParam = 1 – 1 = LockSystem notification | 2 = chatMessage notification | 3 = nothing
local keyParam = Keys[“U”] – e.g : Keys[“H”] will be change the U key to the H key for lock/unlock a vehicle
local soundEnable = true – Set to false for disable sounds
local disableCar_NPC = true – Set to false for enable NPC’s car
local soundDistance = 10 – Distance of sounds lock / unlock (default: 10m)

–[[
######### – READ BELOW – #########

	- Engine System:

	The vehicle's engine turns off and turns on solo correctly but if someone rides in a vehicle the engine will not turn off. 
	This is due to the synchronization of fivem and after 4 hours of research we can't do anything at the moment.

]]

– BELOW : ONLY FOR PROGRAMMER –

local player = GetPlayerPed(-1)

Citizen.CreateThread(function()
while true do
Wait(0)

	vehicle = GetVehiclePedIsIn(player, false)
	isPlayerInside = IsPedInAnyVehicle(player, true)

	if IsControlJustPressed(1, keyParam) then

		player = GetPlayerPed(-1)
		lastVehicle = GetPlayersLastVehicle()
		px, py, pz = table.unpack(GetEntityCoords(player, true))
		coordA = GetEntityCoords(player, true)

		for i = 1, 32 do
			coordB = GetOffsetFromEntityInWorldCoords(player, 0.0, (6.281)/i, 0.0)
			targetVehicle = GetVehicleInDirection(coordA, coordB)
			if targetVehicle ~= nil and targetVehicle ~= 0 then
				vx, vy, vz = table.unpack(GetEntityCoords(targetVehicle, false))
					if GetDistanceBetweenCoords(px, py, pz, vx, vy, vz, false) then
						distance = GetDistanceBetweenCoords(px, py, pz, vx, vy, vz, false)
						break

Conside using the formatting - because i cannot read any of that - nor do i want to