As michev said, you can manually choose whose conversations you want to exclude. For more details about retention policy for Microsoft Teams, you can refer to:
https://learn.microsoft.com/en-us/microsoftteams/retention-policies
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.