Not a direct answer to your questions, but there was a somewhat similar topic in the past which might provide some inspiration on what could be done: Dead man's switch
Not a direct answer to your questions, but there was a somewhat similar topic in the past which might provide some inspiration on what could be done: Dead man's switch