OK I have just set a pretty nice music center with my Ubuntu. I can play and pause from the keyboard (it has special buttons) but there is one thing...
After some minutes my ubuntu goes to lock screen and I can't play and pause from my keyboard. I have to log in.

How can I enable controlling my music from keyboard even when ubuntu is in lock screen?