Screen lock not working normally