How do I know if a headset works with Microsoft Teams?

You can refer to the Microsoft Team’s compatible guide to know if a headset is suitable with microsoft teams.

https://www.microsoft.com/en-au/microsoft-teams/across-devices/devices/category/headsets/36