Add daemonize option like i3lock and swaylock.
Description
i3lock by default daemonizes after locking, and swaylock has the option to detach from the controlling terminal after locking using the -f option. Adding a command-line option would make a switch from swaylock more seamless without impacting current use.
Why not hyprlock &?
It avoids having to do (hyprlock &) && systemctl suspend (or other chained actions). Which works - it's a nice-to-have feature.
IIRC, in swaylock forking happens after the lock is successful? That would provide an agnostic way of sequencing other actions after locking. In case of hyprlock fork could happen after the locking animation is finished.