put the (tin) lid on be the culmination of a series of acts or events that makes things unbearable. British informal
2005The Press (York) The Lancashire visitors made it 2–2 with seconds remaining. That put the tin lid on a frustrating afternoon for a much-changed York side who raced into an early lead through Fozzie Foster.