Question: how to play music when iphone is locked?
Answer: Just double tap the home button and the music controls will pop up from the lock screen.