- On the panel open Settings → Security → Set a lock.
- Choose a 4-digit code or a pattern.
- Enter it twice to confirm.
A padlock button appears at the top of the panel. Tap it to lock the panel at once. When it is locked, a touch anywhere (also after the clock screen) shows the code pad first.
To change or turn off the lock: Settings → Security.