Is there a way to enable the media keys when the screen is locked?

Solution 1:

The problem and reason it's not possible is because it's considered a bit of a security problem if the locked computer can communicate with the desktop.

Might be worth a gnome bug report though.

Not currently possible.