Check on lock file