SpongeBob SquarePants
The Curse Of Bikini Bottom / Squidward in Clarinetland
S7 E7:
SpongeBob and Patrick disturb the Flying Dutchman's slumber and he turns them into ghosts. Squidward and SpongeBob have to share a locker.