Hi Laveau, Adrien,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here
Based on your query,
Can give it try on AVD service from azure. Create an env an AVD env in the Azure portal. Add a VM where your Win32 application will run. Use AVD to publish your app as a remote app. Make the users can only access the app for a limited time, set session timeouts to end each session after 20 minutes. This can be configured using AVD settings, group policies or custom scripts Please refer the below documents more
What is Azure Virtual Desktop?
Deploy Azure Virtual Desktop
Publish applications with RemoteApp in Azure Virtual Desktop
Configure the session lock behavior for Azure Virtual Desktop
Note: - Before doing any action please test in testing env better to know the issue to address before proceeding directly into main env