Hey so I think I bugged the game somehow, I just finished the Lila quest where she was in the shower, and I used the map to travel to the village and suddenly I couldn't go anywhere. So I loaded an earlier save and I ended up with the same problem, but this time further back in the game (finished the croquet squad quest).
Did I accidentally soft-lock myself out of the game?
Viewing post in Peach Hills Division comments
Following the whole game flow until after the dialogue tells you that you can now change the time of day and see the latest renders of Lila.
The player is now in control (it's in Freeplay) and if you use the map and go to Village as you say you can re-enter Jim's flat.
At this point is when it won't let you leave Jim's room.
The solution for the moment to this is to use the map again and travel to the Village and you shouldn't have any problems, you can go back into Jim's room and leave whenever you want, you can use the time change and at night go to bed to sleep and the next day the Pizza event will happen.