Turn on live captions in Microsoft Teams
Teams can detect what’s said in a meeting and present real-time captions. If you're using the desktop app for Windows or Mac, there are also several caption customization options.
Use live captions in Microsoft Teams meetings - Microsoft Support
Instructions
To use live captions in a meeting, go to your meeting controls at the top of the screen and select More.
The select Language and Speech and choose Turn on live captions.
To stop using live captions, go to the meeting controls and select More > Language and speech > Turn off live captions.