The game you may be thinking of is Spooky Castle. It features a silly premise with a bald protagonist, enemies, keys, and unusual collectibles.