Hi Natilly07,
Thanks for your post on the community forum. I'm Nik, an independent advisor here to assist you with this.
By design, your current presence state changes to Away when you lock your computer or when it enters idle or sleep mode when no activity on the screen.
However, In Teams, you could set the status manually and set the expiration as described here:
https://docs.microsoft.com/en-us/microsoftteams...
Given the situation, If you have any suggestion on this, please send your feedback to the Microsoft product group by submitting your suggestion to Microsoft Teams UserVoice here:
https://microsoftteams.uservoice.com
Rest assured that Microsoft monitors and reviews each customer's feedback and ideas; some features would be added to the product and services based on customer feedback in the future. At the same time, Microsoft can’t guarantee any specific features or timelines but promise to read and consider all suggestions as feasible.
Please be advised that this is a Microsoft public peer-to-peer forum. I'm a fellow community advisor(not Microsoft) to help other community members with their issue.
Thanks for your understanding.
Regards
Nik