Unlock iPhone with Voice Command

Open the Enter Passcode Screen on iPhone

Mark the Passocde Location on the screen

Go to settings

Open Accessibility > Voice Control

Enable Voice Control

Tap on Customize Commands > Create New Command

Under Phrase type in any word with which you would like to unlock your phone

Tap on Action > Run Custom Gesture

Tap exactly where you just marked the passcode and tap on save

When your phone is locked by saying the phrase you can unlock the phone