Welcome to the HP Forums!
Thank you for posting your query on this forum, it's a great place to find answers.
Don’t worry, I assure you I will try my best to get this sorted.
I recommend you follow the below steps and check if it resolves the issue.
1. Click on the windows icon
2. Type regedit
3. Right-click on regedit icon, click Run as administrator
4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
5. Double click on Attributes
6. Enter number 2.
7. Go to Advanced power settings (click on Windows button, write power options, click on Power Options, in the selected plan click on the Change plan settings, click on the Change advanced power settings).
8. Click on the Change settings that are currently unavailable
9. Click Sleep, then System unattended sleep timeout, then change these settings from 2 Minutes to 20 for example.
Let me know how it goes and you have a great day!
If you wish to show appreciation for my efforts, mark my post as Accept as Solution.Your feedback counts!
Cheers!