Interesting survival technique, if I can assume it is. The octopus in question dies but the dolphin who tried to eat it does also. Serves as a warning to dissuade eating the species/order as a whole. Same as poisoned toads in that regard, just a little more zombie-like.
Arms work even 1h after cutting off: http://moscow.sci-hub.cc/58b56284136af39dc0eaf7491b31d759/ha...