title: How to lock my application for n mintues after n times of wrong credentials
body: <p>i want to lock my application for n minutes after x times of login failure
  , locking is supposed to be working after restarting application</p>
  
  <p>any suggestions?</p>