Brig

The brig is a secure area in a starship or starbase used to accommodate prisoners and dangerous individuals.

The first brig's on Earth Starfleet vessels were small cells with solid doors, later Federation Starfleet vessels utilised force fields to hold there guests which could be switched on or off to allow access.