Hi,
In that case, I would suggest you follow the below steps to fix the issue.
Fix #1
Step 1:
Go to search box next to windows icon and type "Power & sleep settings"
Step 2:
Click on "Choose what the power buttons do" option
Step 3:
Now click on "Change settings that are currently unavailable".
Step 4:
Disable Turn off fast startup (recommended), Sleep, and Hibernate options. Click on the Save changes button.
Fix #2:
Step 1:
Go to search box next to windows icon and type "Edit Power plan"
Step 2:
Click on Change Advanced Power Settings
Step 3:
Expand Sleep & then expand Sleep after set the value to 0 (Zero) or Never.
Step 4:
Click Apply and then press OK.
Step 5:
Click Save Changes if appears & then Restart PC
Let me know the status after performing the above & if in case the above didn't solve the issue will provide you with further steps to fix the same.
Regards
Shuaib
Independent Advisor