Prison guard unions have become the powerful political forces in some states, particularly California.