Hi!
Do you mean you want to change the length of time before “away” status?
If so, I am afraid to tell you that Microsoft Teams do not support this feature at present. Therefore we recommend you vote for it in Teams UserVoice (Link: https://microsoftteams.uservoice.com/forums/555103-public/suggestions/38630455-setting-to-adjust-length-of-time-before-away-sta). Microsoft will always focus on customer’s feedback and experience, some new features would be added to the services based on customers' feedback in the future, and your good ideas will be very helpful for them to improve the service.
Your time, understanding and cooperation will be highly appreciated.
If the response is helpful, please click "Accept Answer" and upvote it.