I found it necessary to lock+suspend the screen before closing the lid. So I did it with a script tied to the keyboard shortcut CTRL+SUPER+DELETE:
https://askubuntu.com/a/1162665/297529
I found it necessary to lock+suspend the screen before closing the lid. So I did it with a script tied to the keyboard shortcut CTRL+SUPER+DELETE:
https:/ /askubuntu. com/a/1162665/ 297529