An Azure service that is used to provision Windows and Linux virtual machines.
Hi @RaKu,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Azure doesn't provide a built-in way to retrieve the exact time when a session on an Azure VM was locked.
You have to enable Azure Monitor for your Azure VM.
If you have any further queries, do let us know.
Hope this helps.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.