title: Devise -- how to lock an account with lockable?
body: <p>I'm using Devise, and I've decided to add the lockable option after I've already set up the rest of the Devise models and views and whatnot. To do this I followed the instructions of this question: <a href="https://stackoverflow.com/questions/5412801/rails-3-using-devise-how-add-lockable-after-the-fact">rails 3, using Devise, how add :lockable after the fact?</a></p>
  
  <p>The right columns and whatnot are already in the database, so I'm pretty sure it worked. My question now: how do I actually lock the accounts after a certain number of tries? There's a field which successfully counts failed login attempts, but I'm not sure how to get the account to "lock" once a certain number has been reached. I've made a good 12 failed attempts but the account doesn't seem to be locking. Could someone list each view, model, controller, etc. that needs to be modified and how to modify it?</p>
  
  <p>EDIT: It seems to be locking after ~20 attempts. But where is this logic located, and how do I modify it to a smaller number?</p>