If you have noticed, when you step away from your Ubuntu desktop for a short while it will automatically lock the screen to prevent others from accessing your files or programs. This is a great feature that is included for security reasons to prevent unauthorized access. Since Ubuntu 20.04 LTS is a test server, it becomes annoying to me as it continues to automatically lock. PLEASE do not do this to your production server. On how to disable screen lock on Windows, see the following guides. How to disable Lock Screen on Windows 10 via Local Group Policy Editor, and how to disable Lock Screen on Windows 10 via Registry Editor, and how to remove your login password from the Sign-in Screen (lock screen) and re-enable Sign-in Screen.
For a more extensive article on how this can be done on Ubuntu 16.04 LTS and how this can be achived using the dconf Editor, please refer to the following guide."Disable blank screen: How to disable automatic screen lock on Ubuntu Desktop with the GUI and dconf Editor"
Disable automatic screen lock: To do this, click on the show application at the bottom left of the screen
– And click on settings Or follow these steps by clicking on the icon on the top-right menu as shown below
– And click on settings.
Either of the above methods will launch the Settings Window. Next, navigate to Privacy as shown below.
This will open the Privacy window as shown below
– Click on Screen Lock and on the right pane of the window. (Clicking on the Screen Lock will display the option to disable. Tick the button to OFF to disable as shown below)
Select the settings that apply to you.
– In my case, I have decided to disable all the features as shown below.
Exit and you’re done. Your computer will never lock its screen again when it is idled or you step away for a very long time 🙂
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session. I welcome you to subscribe to my YouTube Channel.