We all know that he would not return after the funeral. If the family is so concerned about the son attending the funeral, then hold the funeral in the prison courtyard.
This isn’t the first instance of a prisoner attending a funeral. Prison officials have experience with securing prisoners during family funerals. Consequently, we don’t know that. But the prison courtyard is a perfectly reasonable option, too, imho.