The goal here isn't to avoid those positions. Exact opposite. Get in volume while there is tolerance, then stop or perform regressed movements (better!) when shit gets uncomfortable. Workout to workout, try to expand the threshold where those positions arent working.
Example
A few weeks ago, my right knee tapped out of goblet squats around 3 sets. The tightness and discomfort was at the top half of the movement, so I switched to unweighted duck walks and continued the workout. Problem fucking solved.
Fast forward to today, I was able to knock out 6 sets of b stance kettlebell thrusters with 0 discomfort. Conversely, i lasted 2 follow up sets with Bulgarian split squats before my right knee decided it was done. No problem. I did sets with my left leg only.