Original: At the bottom of the staircase, the door had been opened inward and bolted in such a way as to leave only a gap wide enough for one child to pass at a time.
Simplified: At the bottom of the staircase the door only opened inward and was bolted so that only one child at a time could get through.