Ubuntu 22.04 takes 30 seconds to sleep

I wanted to remove lock screen on wake up from suspend on my laptop, so I searched stackoverflow and got this solution:

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false

it works! but i makes entering sleep state take 30 seconds!

revert it to solve issue