Key to the Side-door

The Key to the Lonely Mountain was a small curious-looking silver key with a long barrel used to open the secret entrance to the Lonely Mountain (Erebor).

History
Like the map, the key was made at an unknown time by Thrór and his son Thráin before the fall of the Lonely Mountain. It was kept by Thrór and then Thráin with the map. When Thráin was captured by the Necromancer, it was given to Gandalf in TA 2850 by Thráin just before he died in the dungeons of the Necromancer. The key and the map was presented to Thorin the day that he and his fellow dwarves visited Bilbo at Bag End in late April, 2941, and from that moment he kept it fastened to a chain around his neck.

When Thorin and Company were at the place of Side-door, time began to pass and the Sun began to fall and the Moon appeared a hole appeared about three feet from the ground. As the dwarves attempted to force the rock without success, Bilbo suddenly remembered the key Gandalf gave Thorin and told Thorin to give it to him before the light disappeared that revealed it. Bilbo took the key and put it in the keyhole which caused the door-cracks to appear and the door to open.