Open the Settings app to Security & privacy. Tap Secure device to engage the Android lock screen, which is useful if your phone is lost and unlocked. Also available from this page are options to play ...
Google Assistant can work on the lock screen, and anyone can access your phone. That's why you should disable Google Assistant on the lock screen.