I recommend following the links in this NYTimes story for more information, both legal and technical.
Federal prosecutors in Atlanta are bringing an obstruction charge against a U.S. citizen who gave customs officers what is known as a duress passcode, which activated software that erased the contents of his phone.
