The ornamental design for a container with lids, as shown and described.
1.1 is a perspective view of a container with lids showing the following elements separated for clarity of disclosure: a handle for the container assembly, a first container, a first lid, a second container, a second lid, and a third container.
1.2 is another perspective view thereof shown in an assembled state.
1.3 is a front view thereof.
1.4 is right side view thereof.
1.5 is a left side view thereof.
1.6 is a top view thereof.
1.7 is a bottom view thereof.
The broken lines in the drawings illustrate the portions of the container with lids that form no part of the claimed design.