If a man tries to get erect in a properly fitted chastity cage, the cage will prevent the penis from enlarging or stiffening. The constriction, often in conjunction with discomfort, will prevent the penis from becoming fully erect. Chastity cages are meant to prevent erections, arousal and masturbation when a man is locked up.