Create lock directory when the directory was not found