fixed typo and make may_be_available method to be protected in class DBStoreLock