You can create a virtual switch and turn that switch on and off by voice in Google home.
And then you can create a smartthings routine (not a Google routine) to lock your lock when the switch turns on and unlock your lock when the switch turns off.
It’s a little clunky and you have to be OK with saying “on“ instead of “unlock“ but it should work.