Does cycling offset muscle loss when in a caloric deficit?

I’ve been aiming to lose 5 lbs (2%) within 30 days, I understand that resistance training helps to retain muscle when in a caloric deficit but will cycling also help to offset muscle loss? I was listening to one of Chad’s recent podcasts about cycling causing muscular hyperplasia does that mean I can build muscle while in a caloric deficit? I’m trying to get 25g of protein in post workout.