It sounds like you have just installed the fix for bug 1724259.
Please verify by running:
dpkg -s libinput10 | grep Version
Please also let us know if the bug reoccurs after that.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
gdm3 lock screen/gnome-shell freeze after opening laptop lid
To manage notifications about this bug go to:
ubuntu-bugs mailing list