This article explains how to disable your webcam in Windows, either for all apps or just a select few. Instructions are given for Windows 11, 10, 8, and 7.
Disable Built-in Webcams on Windows Computers – Device Manager Tutorial
Here's how to completely disable the webcam on your Windows 10 computer:
Right-click on the Windows 10 Start button and select Device Manager.
In the Device Manager window that opens, select the arrow to expand Imaging Devices.