> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lock/unlock vehicle

> How to lock or unlock a vehicle by code, using FiveM natives.

If you want to lock/unlock a vehicle by code, you'll have to use FiveM natives for it, not Vehicles Keys itself.


## Related topics

- [Switch vehicle lock](/vehicles-keys/client/switch-vehicle-lock.md)
- [Toggle closest vehicle lock](/vehicles-keys/client/toggle-closest-vehicle-lock.md)
- [FAQ](/jobs-creator/faq.md)
- [Vehicle locked/unlocked](/vehicles-keys/client/vehicle-locked-unlocked.md)
