What do you do when you are locked while configuring security in Jenkins?
In case you lock yourself while configuring security, you can always disable security in config.xml file by –
Stop Jenkins.
Edit $JENKINS_HOME/config.xml
Edit true to false
Restart Jenkins.