Locks and unlocks the screen as user determines