A judge sentenced a man to consecutive terms of life in prison without parole for killing two people in Harrisburg in 2022.