The officer having a prisoner in charge shall protect the prisoner from insult and annoyance and communication with others while at labor, and in going to and returning from the same, and may use such means as are necessary and proper therefor.
Iowa Code § 356.24