Put a lid on it

What is the origin of 'put a lid on it'?

A cook pot and lid?