lock and key; vital point
Rare literary term. Literally 'bar and key', used figuratively for a crucial point or the key to something. The literal 'locking doors' sense is archaic.
The key to this problem lies in fundraising.
In old documents, one can find the expression 'to secure the lock and key of the castle gate'.