One common theme is redemption. In many fictional prison novels, like 'The Shawshank Redemption', the main character goes through a transformation and finds a way to redeem themselves. Another theme is power dynamics. There are often hierarchies and power struggles within the prison walls.
There is 'One Day in the Life of Ivan Denisovich' by Aleksandr Solzhenitsyn. This novel gives a vivid and harrowing account of a single day in the life of a prisoner in a Soviet labor camp. It's a powerful portrayal of the inhumane conditions and the strength of the human spirit to endure.
The fictional location of Shawshank Prison is not specified in the original story. It's left somewhat ambiguous to add to the mystery and universal appeal.
A great fictional prison book is 'A Clockwork Orange' by Anthony Burgess. It's set in a dystopian future where the main character is in and out of prison and it explores themes of free will and rehabilitation. Also, 'One Day in the Life of Ivan Denisovich' by Aleksandr Solzhenitsyn gives a vivid account of a day in a Soviet prison camp.
There might be some in very niche or adult - oriented literature, but this is not a common or widely - promoted genre. Mainstream literature usually focuses on more positive and healthy relationship portrayals.
Another one is 'Al Capone Does My Shirts' by Gennifer Choldenko. It's set in Alcatraz prison where the main character's family lives. It gives a different perspective on prison life as seen through the eyes of a child. It has elements of humor and also some deeper themes about family and belonging.