inhibit (someone or something) from (doing something)
1. To prevent or keep someone from doing something. My illness inhibited me from going on that hike like I'd planned.
2. To prevent or keep something from happening. A: "The kids really don't want their game to be rained out, so they're currently online, looking up ways to inhibit rain from falling." B: "Huh."
inhibit someone from doing something
to keep someone from doing something. We will attempt to inhibit Karen from doing it, but we have no control over her. A serious case of shyness inhibited Harry from participating in things.
inhibit something from doing something
to keep something from happening. We need to inhibit the weeds from further growth. The weeds were inhibited from spreading by the application of a pesticide.