As you may know, Microsoft Teams is able to automatically identify who is talking during a meeting and associate the participant name in captions and transcripts.
Well, if your end-user want to not be automatically identify, they can go to the Settings\Captions and transcripts to turn off the automatic identification