You can replace the mate-screensave with light-locker.
sudo apt install light-locker
And then disable mate-screensaver.
mkdir -p ~/.config/autostart cp /etc/xdg/autostart/mate-screensaver.desktop ~/.config/autostart/ sed -i 's/^Exec=.*/Exec=/' ~/.config/autostart/mate-screensaver.desktop
You can also look at other lockers like i3lock or xsecurelock.
You can look at this thread for some reference. It may cause a delay coming out of suspend.
2 Likes