To prevent notifications while off the clock, follow these simple directions.
Tap your portrait in the top corner and select Notifications:
Tap During Quiet Time and then chose your Hours and Days (in this example, no notifications after 8:00 PM and before 7:00 AM on all days, and no notifications on Saturday and Sunday).
You have now set your Quiet Time and Quiet Days within Teams. These can be adjusted as needed.