I don't have a direct answer for you, but perhaps you'll find the Renaissance Periodization YouTube channel helpful. Dr. Mike Israetel is a PhD in Sports Physiology, teaches at the university/college level, and does coaching so he's legit and science-based. Here's a series (that unfortunately isn't in a playlist) specifically about avoiding muscle loss while cutting - video 1 video 2 video 3. For more general info, here's a Dieting Made Easy playlist which features videos you may find useful.
Hopefully those prove to be a useful starting point. As a channel he covers a lot of weightlifting topics so it's a good place to explore if you're interested. Best of luck on your fitness journey!