use custom lock command