This tutorial will show you how to specify how long your PC is inactive before your display turns off automatically in Windows 11.
You can specify a screen timeout for how long the PC sits inactive without user activity before all connected displays automatically turn off.
When your display turns off, you would just need to move the mouse, touch the touchpad or touchscreen, click a mouse or touchpad button, or press a key for the display(s) to turn back on.
By default, the screen timeout is 5 minutes on battery and 15 minutes when plugged in.
Starting with Windows 11 build 29550.1000 (Canary), changes to global power settings (for example, Display, Sleep, Hibernate timeouts, Power/Sleep button, and lid close actions) from Settings...