What is a lock and key?

Can you answer this question?