With this user-controlled settings – available in Teams desktop client (does not seems to be available in the web or mobile version [yet?]) – users can decide if they want to see every word as-is without filtering profanity or not when using Live Caption.
The filter is enabled by default but you can manage it from the Settings\Captions and transcripts