IMO Lori's defense will be that Lori herself is a victim and that Alex Cox had terrorized her entire life, and it was he who killed Charles Vallow, Tammy Daybell, Tylee Ryan and JJ Vallow, as part of a continuing campaign to terrorize Lori and to ensure she continued to submit to his sexual abuse of her. There is a book by John Glatt called Doomsday Mother which says Lori's childhood friend said that Alex sexually molested Lori when she was 12 and he 17 and that Chad and Lori were openly sexual towards each other in their family life. Lori will say Alex's rape of her at the young age of 12 irreparably damaged her and made her pliant and very vulnerable to continuing sexual abuse/rapes by Alex and also the control by domineering men such as her former husbands and Chad.
All the above is just my opinion. I don't believe Lori's childhood trauma is an excuse for her murdering her husband and children, this is just my opinion on what her defense might possibly be.