for missioncreators it´s a pretty cool thing to lock/unlock doors. For example you could avoid people to get out of the missions playzone by locking some doors by using:
door setVariable ['BIS_Disabled_Door_1',1,true];
Unfortunately this variable/command does not work for all gates. For example you are not able to lock the "bargate" ("Land_BarGate_F","a3\structures_f\walls\bargate_f.p3d").
I would love to see it implemented for all gates, even if there is no sweet animation when you try to open the gate.