Option in settings to prevent media keys from lock screen

Similar to how we can hide notifications from the lock screen, it would be useful to be able to control media, fully (not just using mouse and clicking on media icon).

Someone pressing the play button could reveal to someone what somebody was listening to. This option should also disable pausing, fast forwarding, and all other media functions. It can be added in the lock screen section in Gnome settings, or in the privacy section.

Currently the currently playing media is not shown on the lock screen, I think this is managed by the notifications on lock screen setting, but audio can still be paused/played and skipped with the appropriate media keys.

Similarly, are there other inputs that can be sent to the desktop via a locked lock screen? A whitelist would be preferable than a blacklist security-wise.