Stand in (someone’s) way

To be a barrier to someone’s desires or intentions.

The woman did not want anyone to stand in her way of getting a promotion.