Starting Katalon 8.6.0; system goes into Sleep/Hibernate mode

I recently installed Katalon 8.6.0 in my laptop having Windows 11. When I open Katalon; the system goes into Sleep/Hibernate mode and does not get started. It has to be shut down and started again. This happened twice; at first time with some sites opened and second time with no application/websites,etc open. Please suggest some solution as this happens frequently.

Open a Note pad and paste the following code inside your note pad

Set Wshell=CreateObject(“Wscript.Shell”)
i=0
Do

Wshell.SendKeys “{F15}”
Wscript.Sleep(100000)
Loop until i>1

and save the file as Live.vbs

after saving the file double click the file and it will ask permission to open give permission.

That’s it your System won’t sleep or go into hibernation.