You have 7 generals and a safe with many locks. You assign the generals keys in such a way that EVERY set of four generals has enough keys between them to open ALL the locks; however, NO set of three generals is
able to open ALL the locks. How many locks do you need, and list how many keys does the first general get, the second, … Is there more than one way that works?

Communicated by Travis (