You have decided to spend the night with his friend, and when the morning woke up and found that one had gone without becoming wake you up, and the door was shut out of habit. Wait until he comes back, it makes no sense, get out by themselves, but for this you have to look for the key, possibly in a spare room.