Enter the code while highlighting 'Music' in the 'Options' menu. 'Cheats!' will appear at the bottom of the list in here, you can turn on infinite lives (Lives) and invincibility (Shield), and choose your starting level (Level).
Alternately, highlight the music selection on the options screen. Then, press Right three times, Left three times, Right, Left, Right, Left.