Perhaps the exit door was blocked by fire.

Depending on where the fire was the exit door may have been blocked.

Or it may have been blocked. Maybe they were afraid of children getting out. I work in a school and one of the exits doors is locked because children were going out of the door. Now they have opened it because of what happened in villagio .