Hey, I have been messing around with accessibility a lot this week. I am by no means a pro but I would first suggest to go to settings> accessibility > accessibility shortcut and see if you have voice control selected, if you do you can click the button on the right side of the phone 3 times to exit voice control.
I just discovered this today but “gestures” actions done with touch can be made and executed. When voice control is on you will see the blue icon up at the top left of the screen. If you say the command, “ start recording gestures” wait til the blue icon turns red. From here it should allow you to use your phone like you normally would. I can open my phone when I start recording gestures but our settings could be completely different. If it allows you in say the command “stop recording gestures.” The New command maker will pop up on the screen and just hit cancel. IF it didn’t unlock the phone there is a chance it could work by recording the gesture, saving it, then using it. So say the command, “start recording gestures.” Press on the screen exactly how you would to unlock it. Hitting every number for the password. Then say the command, “stop recording gestures.” The new command maker will pop up but this time under “phrase” type something in like “unlock phone” hit save and it might take you back to the Lock Screen. At this point just say “unlock phone” and it should execute the gesture you made.
please let me know if either of these do not work for you and I will try to find a different solution.. you might even look up all the commands available online or one your phone (if iPhone)to see what your options are.
To learn more Voice Control commands, say “Show me what to say” or “Show commands.” You can also use an onscreen tutorial called Voice Control Guide.
1 Go to Settings
> Accessibility > Voice Control.
2 Tap Open Voice Control Guide, then follow the onscreen instructions.
Goodluck!