Definition
to do something that prevents a plan or activity from succeeding
The new manager tried to interfere with the project as it was going on, which really put a spanner in the works.
Everything was going smoothly, but a sudden storm really threw a spanner in the works for our filming schedule.
When the government suddenly changed the regulations, it threw a spanner in the works for the company's expansion plans.