Add set registrar lock function