The key to winning a game.
The key to solving this problem is persistence.
Does the word "key" mean the same thing in the above two sentences?
the same meaning