--- title: "LockCodeRelease" slug: "lockcoderelease" updated: 2024-06-28T13:14:12Z published: 2024-06-28T13:14:12Z canonical: "docs.datajet.app/lockcoderelease" --- > ## 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. # LockCodeRelease 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. | | newInstance | "message to display" | Message to display to a user who tries to access the project whilst it is locked. | | project | "project to release" | | Lock a project by calling [LockCodeAcquire](/v1/docs/lockcodeaquire) ```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.