How to prevent Windows 10 from sleeping by a timeout?

Do it in «Power & Sleep settings»:

2023-04-29--02-43-56