Complete the Giant Pumpkin quest.
Complete the Witch's Elixir quest.
Encounter Lock, Shock and Barrel three times in the graveyard.