Minimum number of locks and keys 5 persons own a safe with a number of locks (arranged parallel, i.e. all locks must be opened to open the safe).  One lock can have any number of keys. The owners want any combination of (a minimum of) 3 persons to be able to open the safe. 
I can see that one solution is to have 5!/(3!2!)=10 locks and distribute the keys according to the permutations owners. But is that also the minimum number of locks?
Edit: following new searches using the work "lock" I see that the question might be a duplicate. I see also that my own solution may be wrong according to a comment
 A: Each group of 2 should have one unique unopenable lock, 
so minimum # of locks needed =${5\choose 2}$= 10 
"I" must have the missing key for each group of 2 to which I don't belong, i.e. ${4\choose2}$ = 6 keys, 
so minimum # of keys needed = 5*6 = 30
A: Any group of two people should not be able to open the safe, it means that for each of the $\binom 52$ groups of two, there must be at least one key they don't own. This key must be different for any two groups of two. The minimal solution is then $\binom 52=10$. For each of the 10 groups of two, there is a key they don't possess. 
A: This question has been already answered in full, but since a commenter asked for an explicit solution, I will post one:
A     456789
B  123   789
C 0 23 56  9
D 01 34 6 8
E 012 45 7

Persons are named A-E, locks are numbered 0-9, and, for instance, C 0 23 56  9 means that person $C$ has a key for each of the locks in $\{0,2,3,5,6,9\}$. 
It is easy to see that it’s minimal: there are three keys for each lock (arranged in columns), and if you remove one of those 30 keys, there will be a column with three spaces, and the group of three persons identified by these spaces will not be able to open the corresponding lock. If you remove one whole column, the two people identified by the spaces in the removed column will be able to open all remaining 9 locks.
A: Yes, ten locks is the minimum number.
Given any group of two people, say A and B, they can't open the safe. That means there's some lock that only people among C, D and E have the key to. But in fact, all of C, D and E must have the key: if, for instance, C didn't have the key, then it would be impossible for A, B and C to open the safe working together.
It follows that for every group of three people, there must be a lock for which they are the key owners.
Therefore it takes $\binom{5}{3} = 10$ locks.
Edit: Conversely, we obtain a solution by having one lock for each set of three people. 
