Added the lockable feature to the registration