Pawn:
LocalKey - a local variable in the function GetKey. It holds a random item from the array.
KEYS - the array of available keys.
BP_GRAPPLETARGET:
Key - a new variable
Perhaps you should give the variables more specific names to avoid confusion.
For example,
KEYS - AvailableKeys
function GetKey - GetRandomKey
Key - AccessKey