Use @mbudnek's Community-maintained Google Home integration instead of the built-in integration. It will work with locks.