When I am running any Steinberg program (Dorico/Halion 6/Cubase 9/Groove Agent4) my computer will not go into sleep mode, regardless of if I have (Windows10 Pro) in PowerSaver or HighPerformance mode.
Even screen savers will not come on.
I have other audio programs installed here that do not behave this way.
In Cubase, look for the “Use Steinberg Audio Power Scheme” setting that, if activated, might be associated with your concern. It is found in the Devices>Device Setup>VST Audio System menu.
If your PC goes to sleep while Cubase is running you can have problems with Cubase communicating with your audio interface after it wakes up. I suspect this is caused by Cubase waking up before the interface does.