Amazon Echo

Tie the virtual switch to a Routine (Hello Home phrase) and have the routine lock or unlock the lock.

You can use MichaelS 's Alexa Helper smartapp after you create the virtual switches.