Ensure that lock file exists