System-sleep script behavior post-hook with blurlock

Hello everyone,

I hava a script to start blurlock when I suspend-then-hibernate the computer, it’s starting as it should but when I go back on the computer, the lock disappears.

Here is my script :

#!/bin/bash

if [ $1 == "pre" ] && [ $2 == "suspend-then-hibernate" ]; then
  DISPLAY=:0 blurlock
fi

Is there something I need to do on the post-hook to keep it locked until I unlock it ?

This hook is used when I close the lid, as it doesn’t use i3exit for this action with the Xfce power manager on i3wm.

There is nothing unusual on the logs of journalctl -u systemd-suspend-then-hibernate.service.

If someone has a solution for this, it would be great.
Thanks.