Fixed device to not fire off unlock if lockscreen isn't up