PC goes to sleep mode and stops rendering

Hi friends,

when I render an animation I always have to move the window to prevent the Computer from going to sleep mode. How do I switch of the sleep mode in windows 11? I want to go for a walk while the computer renders. My mac used to render in sleep mode over night ( me in sleep mode to 😇 and never stoped rendering.


Thanks for your help