Keys are used to unlock gates to new levels. 

Obtain them by asking friends; tap/click on the gate and select a "+" to ask for help.
 


Note: 
Three distinct friends have to accept your key requests. 
Once accepted, their profile picture will appear on one of the three available slots by the gate.
To view requests sent/replied tap or click on the gate.