You can add programs to the exclude list in the config app.
If an app doesn’t hook fully, you can do that comfortably from the trouble shoot dialog that the ‘Attaching to…’ hint morphs into after a while.
If an app actually uses DirectX and thus hooks fully, the easiest way is launching it with the watcher paused and then add it via the ‘Add Process’-button in the config app on the ‘Excluded Programs’-page. If you know where it is installed, you can alternatively use the ‘Add File’-button instead and browse to the .exe in question.
Default Windows apps and Office folders where Teams normally is installed get auto excluded completely though. Maybe they differ on your machine.