Coudldnt' reply so I'd reiterate the thread, this app should fix any issues by auto switching away from the bluetooth mic when airpods connect.
https://dunelly.github.io/Bluetooth-Mic-Switch/#
or the macos app store https://apps.apple.com/us/app/bluetoothmicswitch/id6744818861?mt=12