Vehicle freeze for n second for a client after a vehicle reset

does someone have any idea about how to call a vehicle freeze lock command for n seconds on a client car when he reset a vehicle?
(freeze block the trasmission of the vehicle)
i want to call this function in a client side lua code

in Cobalt essentials interface there is a freeze all command for all the clients when the server owner press a button, so i just want to do something similar

Hey, I’m not a master of code or anything, I just know some things about coding (trying to say I don’t professionally code, but im putting in my two cents.)
In the \Resources\Client\CEI.zip\lua\ge\extensions folder, there is a file, CEI.lua, that mentions freeze multiple times. To help find it, you can press ctrl+F and you can search for “freeze”. I don’t perfectly understand how it works, but it probably would help you incase any of the variables for freezing and unfreezing vehicles are shown there.

Also did not realize how old your message was until at the end of writing this, but I may as well just try and help somewhat.