These kinds of lists are always entertaining. I’d add Plato’s Allegory of the Cave (guys chained up and forced to watch shadow plays), the goblin cave in The Hobbit (where Bilbo riddles with Gollum), and the cave at the end of Jose Saramago’s appropriately titled novel, The Cave.
From The Guardian:
Ten of the best caves in literature
The Odyssey by Homer
In the land of the troglodyte Cyclops, Oysseus and 12 of his men visit the cave of the giant Polyphemus to ask him for food. But he makes them prisoners in his lair, which is sealed by a giant rock. Each day he eats a couple of them. How will they escape?