Both Windows 10 & windows 11 Operating System have privacy setting that can be turned on or off within the setting menu.
These privacy settings affect programs which depend on the Camera and Microphone for functionality.
When in the off position, the Camera and Microphone will not work because access is blocking their usage by the applications.
When in the on position, the programs will have access to use the attached Camera and Microphone.
The attached Word documents illustrates how to locate these settings to enable or disable the Camera or Microphone.