/// Lock door on close void main() { SetLocked(OBJECT_SELF,TRUE); }