The unlock ui is shown(ish/essentially) when there’s no users, and the auth scheme requires logins.
I would recommend looking at Configuration as Code which will allow you to setup jenkins without touching the UI. if you are using the built in user system, you can even create and manage users via it.