Definition: In this task, you are given a Reddit post as a text. Your task is to generate a title for this text. The title should start with "TIFU by", followed by a situation that caused humor. The title should contain 7-12 words, ideally.
Input: Text: so this happened about 5 years ago but anyway it's a great story.

me and my friend were going to leave his apartment for a few minutes to pick up some stuff just outside of his building. so he suggested to just make it quick and skip our shoes. i walked out in the corridor and waited for him to get out and immediately slammed the door shut. now this was one of those doors that locked itself automatically when you shut it and i totally forgot about it so he starts yelling at me for closing the door because i shut it before he got his keys. we walked out with no shoes on and had nothing to do. both of our parent were at work so all we could do was to wait for one of them to get home. after two hours of doing nothing my mother finally came home and we had to walk to my place. alot of things were going through my mind so i totally forgot that i was going to watch a football game with my parents. so i had to leave my friend alone outside for another two hours. let's just say he was not that happy.

TIFU by locking my friend out of his apartment