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