New method for locking the class
Minor update