Click on the Windows logo on the task bar
image.png
Then type settings
image.png
Click on settings with the Cog shape icon

On the left side, click on Privacy & Security
image.png
click on Camera
image.png

Camera Access should have the switch turned on
image.png
If the Microsoft Teams is off, click on the  button to enable it.
Check to see if your camera is now working.