Computer can't go automaticly to sleep mode after few min. if UnrealEditor is opened.

Is there a way to enable going to sleep mode while running UE? I have to go somewhere quite a lot but I don’t kwnow if I’ll be back in few min. or few hours, and I don’t want to enter my computer to sleep mode manualy.
Sry for bad english.