Whenever you arc not in accord with another person’s plans projects, you “put a spoke in his wheel” by taking some action that will interfere with or impede his progress.
The expression goes back to the sixteenth century and alluded to the use, by carters, of an extra spoke or bar which could be thrust between the spokes of a wheel so that that wheel would drag and serve as a brake in descending a hill.