add lock at process start