Examples associated with contextual device unlocking are described. One example storing sets of contextual state information associated with unlock events associated with a device. A first contextual state of the device is detected. The first contextual state of the device is compared to sets of contextual state information. The device is unlocked based on the comparison of the first contextual state of device to the sets of contextual state information when the device is in a secure location with a nearby authorized user.