How do you fix "adb locksettings not found"?
I tried updating the phone to Android 8.1 and 9.0 and the issue seems to have been solved in both releases. If you're facing this issue try updating the OS and see if the problem still persists.