Second attempt at locking the screen