Lock file support