Why does OK Google voice search unlock Moto G4 Plus? So my phone (Marshmallow) was locked. I said Ok Google, to search something. It searched directly from the lockscreen and when I tapped home, it actually unlocked the phone. 

Is it a security hole or something?

My phone is Moto G4 Plus
Trusted voice ("OK Google")


Trusted voice

When you say "Ok Google" from a secure lock screen and we're able to recognize your voice, you can ask Google to do things for you, or visit sites, without manually unlocking your device.

"OK Google" settings options (How to turn on/off OK Google and its settings (Trusted voice, etc)): Google Support


Source: Google