It's already been established that there are two apartments on the second floor of the building Michael lives in. At the top of the stairs there's a door for the back stairs and another door for the neighbors. Since Michael's apartment is across from these doors, when he opens the door to leave, a man walks past the apartment. He can't go anywhere since he would run into the wall at the end of the hall.