Metaphor: The two friends were a lock and a key.
Interpretation A: The two friends worked well together.
Interpretation B: The two friends were opposites/had opposing energies.
Correct: A