With the help of Windows taskbar, type "Services.msc."
To run the “Services” app, select it from the given search results.
To highlight it in the list, scroll down and choose the options of “Windows Update.”
Enter the button of stop.
After that, Start by entering the button of Start.
Choose the options of Restart.
After closing the Services programme, go to the options of Windows 10 settings.
To access Windows Update, go to Update & Security > Windows Update.
Check for updates by choosing the options of “Check for updates.”
Restart after installing any updates and Reboot your PC.
Follow above mentioned steps to fix the Windows 10 Sleeping Mode Issues