When you are connecting to Windows machine with Remote Desktop you can see and interact with desktop even though screen is locked on actual machine...
Now my question is: is it possible for your application to capture desktop (actual desktop, not lock screen) and interact with it (move mouse, click and so on...) while screen is locked (with Win+L)?