The result above is done by using Preview under macOS.
In Dorico, I am not able to find a proper way to get it. Please watch the following video:
I have found a way: using Note Spacing is a way to do it, but it would be better if we can control “Grace note before barline” per staff independently…