void main() { ActionCloseDoor(OBJECT_SELF); object oTarget; oTarget = OBJECT_SELF; SetLocked(oTarget, TRUE); }