This issue might be causing because of corrupted system drivers or settings. I would suggest you to try the below steps and check if this helps in resolving the issue.
First use the DISM tool and System File Checker for repairing any missing or corrupted system files:
1. Click Start.
2. Type cmd, and then press CTRL+SHIFT+ENTER to open elevated command prompt (I.e. Command prompt with admin rights).
3. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
4. Type or copy paste the below command lines into it:
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
To close the Administrator: Command prompt window, type Exit, and then press Enter. Reboot your system to see if problem still occurs.
Do check for available pending Windows Updates out there. Go to Start Button/>Settings/>Update & Security/> Windows Update and check for any available updates. If any try to install them, reboot your PC and see if the problem still persist.
I suggest you to try the below step and check if this helps.
To diagnose whether this issue occurs in “Safe Mode”, let’s reboot the computer in safe mode with networking and check if the issue appears there as well.
Safe mode is a diagnostic mode for Windows that starts your computer in a limited state. Only the basic files and drivers necessary to run Windows are started. This helps us in identifying whether the issue is due to some third party programs conflict. The word Safe mode appear in the concern of your monitor to identify which windows mode you are using.
Follow the steps given below and check if that helps.
1. Unplug external devices connected to the computer expect keyboard and mouse.
2. From login screen, press Shift key and click on the Power button and click restart to enter Advanced Boot Options.
3. In this page select troubleshoot option.
4. And click on Advance option.
5. Select Startup setting from advance option.
6. Here you will find Restart button, just click on it.
7. In new windows press F5 to login with safe mode with networking.
If the issue does not exist, try to clean boot the system.
Step 2: Perform Clean Boot.
Placing your system in Clean Boot state helps in identifying if any third party applications or startup items are causing the issue. Check this issue in clean boot state.
Press Windows key + X key. And select Run.
Type msconfig in the Run box and hit Enter.
On the Services tab of the System Configuration dialog box, tap or click to select the Hide all Microsoft services check box, and then tap or click Disable all.
On the Startup tab of the System Configuration dialog box, tap or click Open Task Manager.
On the Startup tab in Task Manager, for each startup item, select the item and then click Disable.
Close Task Manager.
On the Startup tab of the System Configuration dialog box, tap or click OK, and then restart the computer.
For more information refer the below link.
How to perform a clean boot in Windows
Note: After troubleshooting, refer to this section "How to reset the computer to start normally after clean boot troubleshooting".