You can set a hibernation time for your computer in Windows 11, though you might need to enable the feature first.
In fact, ever since Microsoft introduced the S0 Standby state—also known as Connected Standby or Windows Modern ...