Lock is a command to used to lock a closed door or container, when used with the proper key.
In Game Description[]
Syntax: lock <door> <direction if needed> Lock will lock a door provided it is closed and you have the correct key for that door. Useful if you are running from something. Examples: > lock oakdoor > lock door north