Sam is one of the playable in-game characters in LEGO Dimensions 2: The Rise of Enoch, from The Lord of the Rings franchise.
Samwise Gamgee was a Hobbit from the Shire; he was the son of Hamfast and Bell Gamgee and worked as a gardener in the Shire. He was the best friend of Frodo Baggins and protected him from danger on their journey. When Gandalf first discovered Bilbo's old ring was the One Ring, Sam was working in Bag End's garden and heard what Gandalf and Frodo were talking about. Then Gandalf caught him and threw him inside, and afterwards, asked him if he heard anything. Sam said he had heard about a magic ring and a fiery mountain. As Gandalf understood Sam knew something, he told him he would go with Frodo on his journey to Rivendell.
Sam ventured into Mordor with Frodo to destroy the One Ring. On the way, he battled Shelob, the giant spider of Cirith Ungol, rescued Frodo from the orcs of Cirith Ungol, put on the Ring and then carried him up the slopes of Orodruin. Samwise and Frodo were ambushed by Gollum, whom Sam fought, showing him mercy and finally feeling compassion for the wretched creature. When Frodo was unable to destroy the Ring (having been weakened by its power), Sam's restraint payed off. Gollum bit off Frodo's finger, then fell into the volcano with the Ring, destroying it, and Sauron forever. Once they returned home, Samwise fought to reclaim the Shire from Saruman, who was now calling himself Sharkey. Samwise married Rosie Cotton and used Galadriel's seeds to help rebuild the Shire, even planting a mallorn in place of the party tree. Samwise was made mayor when Frodo left with the elves for the Undying Lands, and later departed Middle-Earth himself after the death of his wife