This command will lock any chest, door or other lockable thing that you have selected as your target. Lock levels above 100 cannot be unlocked without a key. See argument information for details regarding lock levels.
lock [lock level] Target Command
|Lock Level||A number that defines how hard this lock will be to pick. Options:|
The above command would lock your targeted object and make it unlocking only possible with a key.
The above command would lock your targeted object and make the lock very easy to pick.