We want the Screen Sharing on Mac to work the same way as it does on Windows essentially. The screen will be locked while the user is connected and it will lock again when they disconnect, and not stay open on the desktop unlocked. Here's a recap of the workflow:
1) Start a secure remote connection to the Mac
2) Lock the screen (“Curtain mode”) for privacy while connected
3) Ensure that the screen will lock automatically when disconnected, so that it is not on the desktop but the lock screen
It's such a basic security feature on RDP with Windows machines, but it's proven difficult to do on Mac.