Windows Lock Screen
When using macOS Screen Sharing, you cannot easily lock the screen of a remote Windows computer.
The keyboard shortcuts do not seem to come through, like ‘Windows L’ or ‘ctrl, alt, del’.
The workaround is running this command from the Command Prompt.
Rundll32.exe user32.dll,LockWorkStation
https://support.apple.com/en-au/guide/mac-help/mh14066/mac
https://www.revouninstaller.com/blog/5-ways-to-lock-your-windows-pc/