Moto X Voice Unlock without speaking PIN
For anybody that is like me and would like to be able to unlock their moto x with voice without speaking their PIN, I have found a solution and thought I would share it. It's not perfect, but it gets the job done and only works from issuing a command through the ok google now always listening.
Prerequisites: tasker, secure settings
First, go into phone settings>touchless control>commands while locked. Enable calls
Second, create a dummy contact on your phone. I named mine unlock phone and used 888-888-8888 as the phone number. You can use any number you like but it has to be a working number for this to work.
Third, Create a new profile in tasker with the state being an outgoing call to your new contact
Finally, the task:
A1: secure settings>clear password
A2: wait 5 seconds
A4: end call
A5: wait 5 seconds
A6: secure settings>set pin/password
now when the phone is locked just say, ok google now.....call unlock phone (I've also had luck just saying unlock phone). once the call goes through, secure settings disables the password, ends the call, and then resets your password/pin.