fixed. #3

The judgment of a related lock file is added