Lock screen not working after updating to 24.04

After updating Budgie from version 22 to 24, I noticed that the screen locking feature stopped working. This might be due to a prompt that prevented the screen from locking during the installation of version 24. I couldn’t find a solution while looking through similar topics. I tried using sudo apt purge gnome-shell-common but it didn’t work. Is there any way to fix this issue?

Please add a screenshot of budgie-control-center - displays

Here

Oh wait lol for some reason it works after switching on my PC for usage (even after rebooting and restarting previously)