put (one) in the way of (something)
1. To provide one the opportunity to obtain or achieve something. Sometimes our fears can put us in the way of profound personal growth.
2. To put one at risk of encountering or receiving something unwanted or unpleasant. Many fear that this decision could put the country in the way of war. Our family's lifestyle choices put us in the way of many snide remarks from people in the community.
put something in the way of someone or something
to place a barrier in the way of someone or something. You know I don't want to put anything in the way of your happiness. I would never put anything in the way of you and Donna.
put in the way of
Also, put in one's way.
1. Obstruct or impede, as in The police put a traffic barrier in the way of northbound motorists, or I don't want to put anything in the way of your advancement. [c. 1500]
2. See in one's way, def. 2.