Yes, mail is considered sacred in prison and even during lock down, administrative or disciplinary segregation the mail still gets delivered to the inmates.
https://www.inmateaid.com/ask-the-inmate/if-the-inmate-is-in-lock-down-are-they-still-able-to-receive-mail#answer
Accepted Answer Date Created: February 17,2016