Non-programmable calculators were fine - computers were not. A programmable calculator is basically a computer. In a computer you could store data that they couldn't access (encryption, even if it's very basic). Could be a list of gambling debts, escape plans, or other horrors. Most prison rules are "written in blood", so to speak.