A regular flute won't work. In Pokémon Gold (and Silver/Crystal), the sleeping Snorlax blocking Route 12 and Route 16 can only be awakened with the Poké Flute.
Open your bag, select the Poké Flute, and use it on the sleeping Snorlax. It will wake up and battle you (Level 20 in Gold/Silver, Level 25 in Crystal). Save before interacting!