title: Check if an application is idle for a time period and lock it
body: <p>In my project I need an application lock (same as windows lock). If the application is idle for a time period the application should be locked i.e, the login window for the application will appear. How can I do it in a WPF C# application? </p>