Sleep mode on Win10 logs out the client

That sounds like the application has actually quit and the user just starts it again. Servoy does not take you to the login screen without showing a message before that as far as I know and have seen in the last 15 years…