Most prisons have web sites with that information. If not a website call the prison and ask the process
Perhaps it can give you more controlable hair, there will still be time involved when you wash dry & style it but it should be a bit more controllable
The prison should have a web site w/information, some prisons require the inmate to request the form & they send it to you.
The federal bureau of prisons has a web site you'll be able to find what you need for any state
You can lighten any hair that has been dyed by making a paste if Tide/wbleach(the powdered kind) with water wet your hair apply the paste like shampoo leave on for 5 minutes, then rinse. Make sure you use a good conditioner after rinsing. Any hair dye is drying to the hair.
Most states have a web site you can check ,otherwise call the jail/prison and ask