Check for the last money first
Look along the wall by the door and around the nearby landings. When the floor looks clear, check the actual count before treating the door as a key problem.
Finish the last interaction
Pick up the Golden Key, then interact with the door and continue into the light to reach the ending. The exact key appearance can depend on progress and dialogue.