Add text: Settings > Display & touch > Lock screen > Add text on lock screen. Edit shortcuts: Settings > Display & touch > Lock screen > Shortcuts. Change how you unlock it: Search Settings for Screen ...
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.