Play music when phone is locked

Hi.
I am making app for radio station.
I have use Sound component with URL to streaming media. It works fine, perfect.
Now I need keep playing this music, when user go to another app or if the user close/lock phone.
Our users want to listen music when the phone is locked - for example with headphones during sport.

How can i do this?