I found a solution to my Logitech Webcam on Elitedesk 800 G9. Same problem with Logitech Webcam C925-e, Windows 11, when connected, it disable my Sounds.
Before connecting Logitech Webcam, install LogiTune from Logitech, then test/update Realtek drivers properly. Connect Webcam, go to Sound Mixer, set everything to Realtek as default, Except Input device Microphone has to be set to Microphone (Logitech Webcam). Also under LogiTune in Sound Mixer, set the input device to Microphone (Logitech Webcam...). As long as this setting maintain, system is stable, Team or Zoom meeting works properly, no more freezes and sound issues. Good Luck.