The Demon Murder Case is a Made-for-TV movie that originally aired March 6, 1983 on NBC. It's based on the real-life "Brookfield Demon Case" that took place in the early 1980s that was investigated by Paranormal experts Ed and Lorraine Warren. It was the first court case in the United State in which the defense sought to prove innocence based on the defendant's claim of demonic possession. The event also inspired the premise of the 2021 film The Conjuring: The Devil Made Me Do It, the third movie in the Conjuring franchise. Go watch that it's much better than this.
The character's names were changed to avoid having to pay the Warrens I guess idk. Andy Griffith plays the Ed Warren-type character named Guy Harris, and Beverlee McKinsey plays his psychic wife Charlotte Harris, aka Lorraine Warren. Kevin Bacon is the defendant in the bizarre case where he has been possessed to murder somebody else. Cloris Leachman appears as reporter Joan Greenway and Richard Masur (the Dad from Disney Halloween special's Mr. Boogedy and Bride of Boogedy) plays lawyer Anthony Marino. I don't recognize the rest of the actors in the film.
Here's the synopsis: A young boy is taken over by demons who force him to commit murder. The film lifts a few devil possession scenes from The Exorcist (1973) and directly copies the scene from Halloween (1978) where young Michael opens the drawer and takes out a knife in the Myers house kitchen (53:01 mark). The only Halloween related scene in the film (around 59:19 mark) is the Lorraine Warren character giving candy to Trick-or-Treating kids dressed as a princess, a ghost, and the final kid is a devil, ha. Watch below, it was uploaded by YouTube user Groovy Movies.