[DF-4007] Added locking of shaderAsset->shader->compile