That might be less fun for the people on the first floor, but yes, there would have been a variety of ways out given enough motivation. I didn't really mean "trapped" in the sense of "really actually likely to starve to death in there if the locks don't start working again", more in the sense of "unable to get out without causing somebody a serious inconvenience, no matter who it turns out to be".