EXIT:lock()

Return type: none


Lock the exit. Also closes if not already closed. Must be a door. No error if already locked.