Click on the Windows logo on the task bar
Then type settings

Click on settings with the Cog shape icon
Click on settings with the Cog shape icon
On the left side, click on Privacy & Security
click on Camera
Camera Access should have the switch turned on
If the Microsoft Teams is off, click on the button to enable it.
Check to see if your camera is now working.