Have just installed Ubuntu Budgie on a Vintage iMac. Works well but can't get it sleep or screen blank when left unattended

Try following this: Lockscreen not working after update to 21.10

We might be having similar issues.