By default, many system settings in Windows are set to be optimal for most users. In particular, this applies to sleep and hibernation, which are initially enabled and configured in a certain way.
If you are not satisfied with the default settings and need flexibility in management, you should look for solutions. Caffeinated is a small utility that allows you to enable or disable sleep mode with one click without having to go to the settings every time.
The program adds a coffee cup icon to the system tray, from where you can manage the sleep mode settings very conveniently and quickly. Choose the time during which the computer should remain active and change it immediately from the system tray when it becomes necessary.