If I am working alone or on rented jobs and they are the double glazed type doors that auto lock when they close I now allways put a mat in the door to keep it open.
That is because I know the hard way that when they shut they lock.
When that happened to me I went all through the garage, no ladder so I couldnt climb in through the bedroom window, no key in the garage as we all keep a spare key in there dont we, under the mat, plant pot, nothing, no neighbours in, she'd gone shopping not back for a couple of hours.
My brother was a copper and warned me that you can force those frames apart, so I got my carpet bolster from the van and hey presto forced it open.I wasnt finished when she got back as was arranged but just said it took a little longer than anticipated.
Murky