Lock file prototype