Lock the screen after a timer runs out.