Hi Casper Whristle
With 0x80070020 (ERROR_SHARING_VIOLATION), Windows Update is essentially reporting that another process has an open handle on a file or resource that servicing needs to modify. I've seen this a few times with EDR/AV products, backup agents, third-party patching tools, and occasionally indexing services.
I would definitely recommend reviewing CBS.log first, since it often contains the exact file, manifest, or component that failed during servicing. You can also generate and review Windows Update logs with Get-WindowsUpdateLog to correlate the failure timestamp. Once you identify a suspicious path (for example under WinSxS, SoftwareDistribution, or Catroot2), using Process Explorer (Find → Find Handle or DLL) or ProcMon with a path filter is a great next step to determine which process owns the handle.
If an EDR agent is involved, don't just focus on SoftwareDistribution. In many cases the lock is actually occurring within the WinSxS component store, pending servicing files, or catalog-related files that Windows Update needs to manipulate. I'd also compare the timestamp in CBS.log against EDR audit or protection logs to see if real-time scanning is triggering at the same moment as the update failure.
So in short: yes, identifying the locked file from CBS/WU logs and tracing the handle owner is exactly the troubleshooting path I'd take before moving on to more invasive repair actions.
If this helps point you in the right direction, please consider hitting "Accept Answer" so others running into the same 0x80070020 issue can find the solution more easily.