Viewpoint0232
You seem to want an easy answer to satisfy a question that isn't so simple.
Whether or not duress pin is "legal" in whatever country does not matter. "Legal" is not a black and white thing, not even remotely. People get arrested for things all the time that are not technically illegal.
For any given country you happen to be in, let's say you get picked up by the cops and you trigger the duress pin - will you get in legal trouble? Maybe/probably. Does this mean you'll actually be prosecuted for this? That's an entirely different thing, since it depends on
what country you're in
how good your lawyer is
how much press your arrest gets
what else you've been picked up for
what other metadata they can find on you
or a million other things.
Matchboxbananasynergy already stated that this is not the proper forum for a legal discussion.