Fine, as long as the doors open with a push from the inside.
If not, you’ve created a disaster waiting to happen.
If you need to proceed down the hall (say your classroom HAS the fire) you’d better not try to enter ANOTHER room.
And if a shooter is in the hallway, try ducking inside a locker instead.