You don’t just put down buildings, but plan them (in a way that feels incredibly fiddly to begin with and will lead to a lot of buildings ending up the wrong size for what you need as you figure it out), zone out individual rooms, and kit them out with what they need.
“Prison Architect doesn’t skimp on any of that detail.