H.R. Pufnstuf
The Golden Key
S1 E6:
Jimmy buys a map to the location of the Golden Key, which unlocks the Golden Door a secret way off of Living Island. But Witchiepoo captures Pufnstuf in her dungeon to divert Jimmy from his escape.