void main() { DelayCommand(10.0, ActionCloseDoor(OBJECT_SELF)); SetLocked(OBJECT_SELF,TRUE); }