I want to enable the lock screen after certain period of inactivity. Once user wants to use the system again he should be forced to re-login with password.
If there is a unique solution for various flavor of linux then it is preferable.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityIn various flavor of Linux this functionality is there by default for security reasons.
Though you can reduce the time for auto locking or you can disable this feature of auto-log-in.
to see how to reduce auto log-n visit this question. How can I change the time before the system locks?