[PATCH 5.10 299/299] thermal/core/fair share: Lock the thermal zone while looping over instances