Boos seems to have every key to every locked door in this game.
If he's drunk enough Boos will give you the keys you need.