Chastity is not a punishment, chastity is a gift. A gift from Mistress Xavialune to her slave so that he can learn to ignore the needs of his cock and instead focus on what is more important, namely her wants and needs. Locking up his cock is the best way to mentally remold him into a willing and compliant male slave.