The muscle loss doesn't come from Mounjaro, it comes from the diet. We simply eat less on Mounjaro and have less appetite. A high protein diet matters now, to keep your muscle or even build some, and to feel fuller.
You lose muscle on a diet when the calorie deficit is too big, so the body doesn't get enough energy to hold on to its muscle. Then it turns to other sources of energy, muscle protein included. That can mean muscle loss, especially if you do little or no strength training. The body is built to survive and sees a long diet as a sort of emergency. If it decides it has no need for muscle any more, it breaks it down to get energy and burn less.
A moderate deficit of 300-500 kcal a day is the sensible way to lose fat without losing too much muscle. Good sleep helps the body recover and brings down the stress hormones that can add to muscle loss too.
I'm no fan of gyms either. But I haven't lost any muscle so far, because I get enough protein. I have a body fat scale, the kind with handles, and its results match a professional measurement. My scale and the pro measurement both say I haven't lost muscle yet.