Solution to the Problem:
The number on the omnipotent key is 20.
Lock #1: The number could be 0, 2, 4, 6,
8, 10, 12, ...
Lock #2: The number must be either
20, 26, or 41 since
20 + 10 + 5 + 4 + 2 + 1 = 42 and
26 + 13 + 2 + 1 = 42 and
41 + 1 = 42
Lock #3: The number must be a multiple
of 10: 10, 20, 30, 40, 50, 60, ...
Lock #4: The number must be 10, 11,
12, 13, ... 99.