I worked as a volunteer for the Shelter charity in the 1970s. Our group set up a Housing Aid Centre, open on Saturdays, and on our very first day, first interview, which I was conducting, that first person, on entering the room in the office building we were using, came in and locked the door behind him and put the key in his pocket. Luckily, I don't panic easily and, after two hours (the session was timed for half an hour) I managed to stop the man self-harming (and, perhaps, committing suicide) there and then and, I believe, gave him some hope I could help him with his housing problem, which was, in the terminology, the 'presenting' problem. I cannot after all these years remember all the details, but I did help him get rehoused. He was a very unhappy and lonely man and, I suspect, he may have taken his life at a later stage. I did say, though, that I felt I could handle almost anything in an interview after that, but, of course, it could have been a different matter if he'd carried out his threat.
Suicide/ threat of suicide should not be taken lightly, but trying to penalise someone who fails, or the family/estate of someone who succeeds, is imo wrong-headed on every level.