--- title: "LockCodeAquire" slug: "lockcodeaquire" updated: 2024-06-28T13:14:06Z published: 2024-06-28T13:14:06Z canonical: "docs.datajet.app/lockcodeaquire" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # LockCodeAquire Locks a project, preventing any user other than the user doing the locking from accessing the project in any way. | Key | Value(s) | Description | | --- | --- | --- | | method | "LockCodeAcquire" | Locks a project, preventing any user other than the user doing the locking from accessing the project in any way. | | message | "message to display" | Added in 6.6.20 Message to display to a user who tries to access the project whilst it is locked. | | project | "project to lock" | | Lock a project by calling LockCodeAcquire ```json { "method": "LockCodeAcquire", "project": "BikeData3" } ``` Unlock a project by calling LockCodeRelease: ```json { "method": "LockCodeRelease", "project": "BikeData3", "newInstance": true } ``` NOTE: If "newInstance" = true, then all users will be forced to reconnect to the project.