Hello @Javi Piqueras ,
Thanks for your question.
Microsoft currently does not offer a special API or partner program that lets third-party remote assistance tools send keyboard and mouse input to the lock or sign-in screen. Access to that screen follows the normal Windows security rules.
When the PC is locked, Windows shows the sign-in screen on the secure Winlogon desktop. As the Desktops documentation explains, only a very small set of accounts, including LocalSystem, can access this desktop, and regular applications cannot. A process running as the signed-in user, or a thread that is still attached to the Default desktop, generally cannot send input to it. That would explain the ERROR_ACCESS_DENIED you see from SendInput.
One approach that fits these rules is to have your LocalSystem service start a helper in the console session with a SYSTEM token. To do this, set the session ID on a copy of the service token with SetTokenInformation, then call CreateProcessAsUser. Before calling SendInput, the helper attaches its thread to the current input desktop with OpenInputDesktop and SetThreadDesktop, and it does this again whenever the desktop changes. For Ctrl+Alt+Del, SendSAS can be called from a service if the "Disable or enable software Secure Attention Sequence" policy allows it.
Please also note the change described in KB5080542 (CVE-2026-20824), which came with the January 13, 2026 security updates. Windows authentication dialogs now only accept input from trusted local sources, such as a physical keyboard, trusted UIAccess accessibility apps, or apps running elevated. Microsoft recommends updating apps to avoid keyboard entry into credential interfaces and to use supported Windows authentication interfaces instead. It describes running elevated only as a temporary mitigation. Windows 11 24H2, 25H2 and 26H2 share the same servicing branch, so this change should also apply to your build.
For a longer-term design, a custom credential provider might be a better fit, because credential providers are the documented way for third parties to take part in Windows sign-in and unlock. The provider can pass the operator's credentials to Windows, which still checks them through the normal authentication process. The existing session can then be unlocked on the same console. The SendSAS page lists its version, signing and policy requirements. For credential providers, you can refer to Credential providers in Windows and the V2 Credential Provider Sample, which shows how an administrator installs and registers the provider.
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback. Thank you.