This is the Teams compliment to setting Work Hours and location in Outlook - those hours/locations are also reflected in Teams as well.