Hi, I'm Bernard, a fellow Windows user. I'm happy to help!
This issue occurs when there is a driver error or a permission issue with the settings. To sort out the issue, kindly follow the steps below:
Check the Camera Privacy:
Go to Settings > Privacy & Security > Camera
Make sure the Camera access is turned on
If the Camera is turned on and still having an issue, kindly follow the steps below:
Rollback Camera driver:
-Press the Windows key + X
-Select Device Manager
-Expand the Camera or Imaging Device
-Look for the Camera driver that was installed
-Right-click and click "Update Driver"
-Look for "Browse my computer for driver"
-Click "Let me pick drivers available drivers on my computer"
-Choose an old driver or other name of driver then select it and hit next until it installs.
Note: If the issue persists, please download and install the BIOS and Camera drivers from your manufacturer's website.
You can also refer to the troubleshooting steps from the link below:
Let me know how it goes, and I hope that helps.