While I do think the Sokovia Accords will come into play in this series as well as in Black Widow, I don't see it playing much of a factor in Phase 4. I say this based on projects like Loki, The Eternals, Thor Love and Thunder, Secret Invasion and Guardians 3. They all have aliens and I don't think aliens care at all for an Earth Bound treaty that doesn't affect them whatsoever and although Peter Quill is half human, he spends most of his time in Space. As for other projects, I do think the accords will have a role to play in Hawkeye (if Barton is still under house arrest by the time his show starts), Ant Man and The Wasp: Quantumania (only if Lang is still under house arrest when the movie starts), Spiderman: No Way Home, She Hulk and Armor Wars (Thunderbolt Ross threatened a court martial for Rhodey in Infinity War). I don't see it having any role in Captain Marvel 2 whatsoever, since Zawe Ashton is likely to play an alien villain and both Monica and Carol will be in outer space when the film starts, so both will be out of the jurisdiction of the Accords. I don't know if it will play any role in Shang Chi and the Legend of the Ten Rings, Blade, Moon Knight, Dr. Strange and the Multiverse of Madness, Black Panther 2 (even though Wakanda signed the treaty) or Ms. Marvel (I think it will be mentioned by Kamala, a classmate or a teacher but that's it).
I had initially said that it would play a role in Black Panther 2 but now I am not so sure this time.