I'm looking for a way to allow Google Assistant's speech-to-text to send a message while phone is locked, preferably only to certain contacts and without being able to read past messages.
I've googled and all solutions seem no longer valid.
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
Yes you can, by using smartlock.
It should be located under security and lock screen.
Click on smart lock then voice match and turn on: Access with voice match And lock screen personal results.
However this may let you read earlier messages and will not restrain it to only selected contacts