Oh, the problem is that the door key is hidden and needs to be found
Okay, that worked and I got ending 4. When I press spacebar the game starts from the beginning instead of the last checkpoint.