Removes lock file