15. An electronic device comprising: one or more processors; and memory storing instructions which, when executed by the one or more processors, cause the device to: while the device is in a locked state at a first time, receive non-voice authentication information from a user; responsive to receiving valid authentication information, transition the device to an unlocked state; while in the unlocked state, receive a first speech input from the user; generate a voiceprint based on a voice sample of the first speech input; while the device is in the locked state at a second time, receiving a second speech input, the second speech input including a command associated with a restricted feature of the device; determine a degree of match between the generated voiceprint and the second speech input; and upon determining that the degree of match is above a predetermined threshold, execute the command including invoking the restricted feature of the device, wherein the command is executed while the device is in the locked state, and wherein the command is a request to perform an action other than unlocking the device.
15. An electronic device comprising: one or more processors; and memory storing instructions which, when executed by the one or more processors, cause the device to: while the device is in a locked state at a first time, receive non-voice authentication information from a user; responsive to receiving valid authentication information, transition the device to an unlocked state; while in the unlocked state, receive a first speech input from the user; generate a voiceprint based on a voice sample of the first speech input; while the device is in the locked state at a second time, receiving a second speech input, the second speech input including a command associated with a restricted feature of the device; determine a degree of match between the generated voiceprint and the second speech input; and upon determining that the degree of match is above a predetermined threshold, execute the command including invoking the restricted feature of the device, wherein the command is executed while the device is in the locked state, and wherein the command is a request to perform an action other than unlocking the device. 17. The device of claim 15 , wherein the first speech input includes a command, and wherein the instructions further cause the device to execute the command of the first speech input.