In every factory the doors of each room in which more than twenty persons are employed shall, except in the case of sliding doors, be constructed so as to open outwards, or, where the door is between two rooms, in the direction of the nearest exit from the building, and no such door shall be locked or obstructed while any work is being carried o...