Change lock command