Programming lifting during a sports season

My sports season is coming up (tennis), and I’ll be practicing after school for 2 hours.

How could I balance lifting with this. How did you other lifters in a similar situation do this?

I still want to lift and make size and strength gains during the season. What I did in the past was sort of just drop lifting and I want to avoid doing that again.

What would programming look like?