configure lock command