Lockscreen not working after update to 21.10

Note to all … if you don’t use gnome-shell then this solution is easier and quicker to do