Music playback can be controlled, even if the screen is locked – simply press the Home button once to reveal the controls.
Pause, skip, increase volume, and see more details about the song at the top of the screen – even when it’s locked.
Pressing the Home button again will reveal the time and date if that’s what you wanted to see.