Lock/Unlock a Code Snippet
In order to lock/unlock a code snippet, click on the name of the code snippet to open Edit screen and then click on Lock/Unlock as needed. If a code snippet is locked, no other user can modify it unless that user is the owner of it. If a code snippet is unlocked, any user can modify it. Only the owner of the code snippet and a user with admin role can perform locking/unlocking.
Alternatively, you can click on the checkbox next to the code snippet name and click Lock/Unlock as below: