Lock file cli commands