Hi, I am facing this same issue. In order to not have a duplicate of the issue, I am reporting it as a comment under the very same bug.
I have tried the following: gsettings set org.gnome.desktop.lockdown disable-lock-screen true But it is still not working. What can I do in this case? I am on Ubuntu 20.04.2 LTS -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1851992 Title: Lock screen not locking upon resume (org.gnome.desktop.lockdown disable-lock-screen set to true for some reason) Status in gnome-shell package in Ubuntu: Won't Fix Bug description: On certain circumstances, upon resume, the lock screen will be bypassed and the desktop will be displayed, as if the lock screen had been disabled. Please see the attachment, it's a video demonstrating the bug. Also note that suspending my laptop sometimes takes way too long (+15 seconds), even though my desktop is idling. I'm running the proprietary tested driver "nvidia-driver-435" installed via the GUI tool. These are my some interesting line in my journalctl log, at the moment when I suspend my laptop: nov. 10 14:31:38 Strix systemd-logind[1495]: Lid closed. nov. 10 14:31:38 Strix systemd-logind[1495]: Suspending... ... nov. 10 14:31:38 Strix whoopsie[2610]: [14:31:38] offline nov. 10 14:31:38 Strix gnome-shell[2400]: Screen lock is locked down, not locking nov. 10 14:31:38 Strix gnome-shell[3377]: Screen lock is locked down, not locking nov. 10 14:31:38 Strix systemd[1]: Reached target Sleep. nov. 10 14:31:38 Strix systemd[1]: Starting Suspend... nov. 10 14:31:38 Strix systemd-sleep[16017]: Suspending system... ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: gnome-shell 3.34.1-1ubuntu1 ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1 Uname: Linux 5.3.0-19-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Nov 10 14:33:47 2019 DisplayManager: gdm3 InstallationDate: Installed on 2019-09-26 (44 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) RelatedPackageVersions: mutter-common 3.34.1-1ubuntu1 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1851992/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp