LockExit (exit)
Locks the specified exit, simply by setting the
locked
property to true.