A judge Tuesday halted state prison officials from enacting a planned increase in the amount of custody credits some inmates would receive, stemming from a filing brought by more than two dozen California district attorney's offices, including San Diego County's.