Unlocking a phone with okay google is useful. However, how can I lock it again using okay google. It's very handy being able to talk to my phone whilst working on the laptop but in the interests of battery power locking it again would help. Particularly if I'm using bluetooth and the phone is in my pocket. Time out is set to 15 seconds but a lot can happen in 15 seconds.
3 Answers
If you want a native (i.e., officially from Google) solution, you can install and use the Voice Access feature, which can also be turned on via Okay Google. Note that Voice Access allows much more interactions where Okay Google does not (permissively speaking).
While Voice Access is active, saying "lock (the) screen/phone" will lock the phone.
Unfortunately there's no command for this. Google needs to see the use for this and add it obviously
As it stands the Google Assistant which is activated by the OK Google command does not give you the functionality to lock your phone, if you ask it, the Google Assistant will tell you as much.
However there are ways round this, there is an article from MakeUseOf
which details how to do this, it does require the installation of an app and pairing it up with a custom command that you set in the Google Assistant.
My personal set up for screen locking is to lock immediately.