as it has already been locked by this process. code example
Example: cannot lock java compile cache as it has already been locked by this process
find ~/.gradle -type f -name "*.lock" -delete
find ~/.gradle -type f -name "*.lock" -delete