Automatically unlocks the device if there are no notifications or music playing.