How to blocking rest api calls that are made to jira, so no authentication is done in jira from those calls. And the accounts don't get locked.
While we keeping jira application down for maintenance .