Prison

A prison, or gaol, was a place of confinement, typically for criminals.

After being imprisoned by the Sheriff of Nottingham, the Twelfth Doctor and Robin Hood escaped by knocking out a guard and taking his keys. (TV: Robot of Sherwood)

In 1881, while in Tombstone, Arizona, the First Doctor was imprisoned by Wyatt Earp who believed this would be safer for the Time Lord who was believed to Doc Holliday by Seth Harper and the Clanton brothers.

A mob, egged on by the Clantons, gathered outside the prison demanding that Holliday be released into their custody and threatening to hang Steven Taylor if not. Earp attacked the group and managed to release Steven. The Doctor was released and surreptitiously removed from the prison. (TV: The Gunfighters)

The Master was imprisoned on Fortress Island where he was visited by the Third Doctor. He escaped with the assistance of George Trenchard. (TV: The Sea Devils)

Romana I was put into a prison cell by Count Grendel of Gracht. There, she tended to her fellow prisoner, Prince Reynart. (TV: The Androids of Tara)

By his eleventh incarnation, the Doctor had been imprisoned in the Tower of London five or six times. (PROSE: Touched by an Angel)

In the 52nd century, River Song was imprisoned in Stormcage, though she frequently escaped. (TV: The Impossible Astronaut)