Since hyprwm/hyprlock@00d2cbf hyprlock supports the animation and bezier keywords from Hyprland. But, bezier needs to be defined before an animation can use it.