They were actually locked to keep the women workers from going out to smoke. One of them did anyway (hard habit to break, as I know from personal experience), and the butt started the fire. This isn't to excuse the bosses who locked the doors and caused many deaths.
