So I did some searching, quite a lot actually, and the only car lock scripts I found were [Release] ESX AIOMenu & ESX Identity & ESX LockSystem and [Release] LockSystem 3.1 (Updated the 07/16/2018) [BETA]
I also found another one on GitHub but none of these are really what I’m looking for. A lot of them are broken. For example the LockSystem, if you take your car out of impound you can no longer lock your car. And if you leave the car for long enough you can’t lock it either.