On my Fairphone 5 with Android 15:
| Order | Why | How |
|---|---|---|
| Enable the display | adb shell input keyevent 82 |
|
| Enter the passcode screen | adb shell input keyevent 66 |
|
| Enter the passcode | adb shell input text $passcode |
|
| Accept entered passcode | adb shell input keyevent 66 |