Perform a custom/pre-defined action on vault lock

Hi all,
I’m looking for a way to run a command on vault lock, preferably customizable per vault. To add context, I’m keeping a powershell script on each vault root that backs up the vault’s decrypted content using restic. Right now I’m running it before I lock, would like to have a way to have it set up automatically.

Guessing this is a feature request… If an easy, automated way to accomplish this comes to mind, I’d be happy to learn

Thanks for such a nice and reliable product