Merge pull request #13213 from JosJuice/remove-filter-patches-lock Core: Remove redundant lock for FilterApprovedPatches call