First, check if there are any errors from the suspend service:
systemctl status systemd-suspend.service
If “device is busy”, or “failed to suspend”, check if there are any suspend inhibitors active that you may not want
systemd-inhibit --list
Additionally, if you are using an NVIDIA graphics card, make sure the services that manage the card’s sleep are enabled. If they are not, then the device cannot be put to sleep and systemd crashes
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service