A man who killed his mother with a baseball bat entered a guilty plea and was given a 25 year prison sentence, according to court records.