HF: add lock file