Key Events When system is locked


I am facing issue with Key Event (Enter and Arrow Keys) Activities when system is locked.
and when system is in active state events are working without any issues. Need Help to achieve the same process even when the system is in locked state.


Key Events activity requires active window focus.

Amit Anand