This article explains how to disable the computer microphone on Windows.
Steps

Step 1. Locate the volume icon on the taskbar
This button looks like a speaker and is located in the lower right corner of the desktop, next to the Wi-Fi and battery icon.

Step 2. Click the volume icon with the right mouse button
Several options will appear.

Step 3. Click on Recording Devices in the menu you opened with the right mouse button
The audio settings will be displayed in a new window. This will open the tab titled "Registration". Inside you will be able to see the list of all audio input devices.

Step 4. Click on the microphone in the list with the right mouse button
A new menu will appear with several options.

Step 5. Select Disable on the menu you opened with the right mouse button
This option will mute the microphone and remove it from the "Recording" tab list.

Step 6. Click on an empty space on the tab with the right mouse button
A new pop-up menu will appear with a list of options.

Step 7. Click Show Disabled Devices to add a check mark next to this option
Checked this item, you will be able to see the microphone in the list even though it has been deactivated.