From your status change area, you can set to Do not disturb in Teams. That will block phone calls, IM chats, and Teams notifications. Your DND status will remain until you manually change it.
- From within Microsoft Teams, select your user avatar
- Select your current status under your email address
- Set Do not disturb
- Set the status to anything else to disable the DND features.