From Dota 2 Wiki
Used to open locked treasures. Double click or right-click the key in your backpack and select the treasure you want to open.
This item can be redeemed for following Treasures. Certain event Treasures cannot be redeemed.