How to disable automatic screen lock in Ubuntu Linux

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 the 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 below. This can also be done via the control panel or Windows settings as well.
– How to disable Lock Screen on Windows 10 via Local Group Policy Editor,
– How to disable Lock Screen on Windows 10 via Registry Editor,

Disable automatic screen lock: To do this,
- Click on the show application at the buttom left of the screen as shown below
- And click on settings

- Click 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.
– 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 🙂 If you found this article useful, please leave a comment below.

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x