 The main goal of a custody prison is to protect the community by maintaining control over the inmates.The correctional officers are expected to maintain order, enforce rules, and keep custody.A key rule to their job is that interaction between inmates and officers is to remain distant.