Cancel display state restore if devicelock state changes

When usb cable is plugged in and device lock code entered, the display
will blank and possibly re-apply the device lock unless the user does
swipe to show homescreen almost immediately. Since successfully entering
the device lock code is clear indication that user wants to do something
with the device, normal blanking timeouts should be applied instead.

Cancel state restoration if device lock status changes during exceptional
display on state.