1. A non-transitory computer-readable medium including instructions which, when executed by an electronic device, 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, receive 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.
1. A non-transitory computer-readable medium including instructions which, when executed by an electronic device, 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, receive 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. 4. The non-transitory computer-readable medium of claim 1 , wherein the instructions further cause the device to: while determining a degree of match between the generated voiceprint and the second speech input, determine the action corresponding to the command, the action requiring the restricted feature of the device to be invoked, wherein executing the command includes performing the action.