SWmud

> lock

Syntax:
lock [door]

You can use this command to lock a door if you have the key for it.