The women and girls working in the factory could not escape because the company had locked the doors to the stairs from the outside, ostensibly to prevent theft by employees.
The girls found an open door to the doors to the stairs.