Prevent Windows tablet from shutting down?

Li
1

I have had such a Windows tablet for some time now. These are tablets that have Windows installed on them and that, in principle, can be used like a laptop. Well, my problem is that the thing shuts down in sleep mode after a while. It would be much more practical if I could turn this off, but haven't found a setting for it yet.

Does anyone know how I can turn this off?

Sh

In the energy settings:

Prevent Windows tablet from shutting down