Update:
It seems that my first point is a little more complicated.
It carries out what you last did to another prisoner. For example I put a prisoner into protective custody and then went to recruit an informant. Instead of them being recruited, they got put into protective custody. I then set them back to minimum security and the next attempt at recruiting informant, a few minutes later, changed their security to minimum.