The grand jury transcript was unsealed this week in the case of a Lancaster woman and her boyfriend, who are accused of torturing and murdering her 10-year-old son.

Heather Maxine Barron, 29, and Kareem Ernesto Leiva, 32, have pleaded not guilty to charges that they killed Anthony Avalos and tortured him in the days leading up to his June 21 death.

Los Angeles Superior Court Judge Kathleen Kennedy heard arguments from lawyers for the Los Angeles Times and members of the victim’s family before ordering that the transcript be made available to the public, though some exhibits that both the prosecutor and a defense attorney agree could be prejudicial will remain sealed pending a hearing set for Jan. 11.

Leiva’s attorney, Dan Chambers, had objected to the release of the transcript, saying it could hurt his client’s chance for a fair trial, while Avalos family attorney Brian Claypool said the boy’s relatives had been waiting seven months for access to the autopsy report and other information and deserved to know what happened.

Kennedy, who oversaw the widely publicized Grim Sleeper serial killer trial, ultimately agreed that releasing the transcript was in the public interest and would not make it impossible to find a dozen impartial jurors in a metropolitan area of more than 10 million residents.

“This is a matter in which there is a high public interest,’’ Kennedy said of the Avalos case, noting that it has led to scrutiny of the Los Angeles County Department of Children and Family Services. “The press is the eyes of the public and the public has a right to know.’’

Hundreds of exhibits, including medical records, crime scene photos and other material, were also unsealed with the transcript, but photos and videos showing the victim’s injuries remain off-limits pending the January hearing.

Also this week, Deputy District Attorney Jon Hatami highlighted a new sexual abuse allegation relevant to the case and told the judge his office may want to raise it during trial. He handed a two-page report to Chambers, whose client looked at it and then shook his head.

Hatami refused to comment further on the allegation when questioned by reporters, even to confirm that Leiva was the alleged and only perpetrator.

Prosecutors allege the couple abused, beat, assaulted and tortured the boy, with more than a dozen allegations of abuse dating back to 2013. Court papers detail abuse that included whipping him with a belt and a looped cord, pouring hot sauce on his face and holding him by his feet and dropping him on his head repeatedly.

The charges against Barron and Leiva include a special circumstance allegation of murder involving the infliction of torture. Hatami said a decision whether to seek the death penalty might be settled in March.