a prison is used for locking up criminals