That would be called tampering with evidence, and is very illegal in the United States. You would likely be able to be charged with that and obstruction of justice just for giving them the kill-password.
Even if you cleared the device before it was taken into custody, they could still have a case if they can reasonably show that you cleared it with suspicion that it would be taken into custody. Obviously, that can be difficult to show, depending on the burden of proof required.
http://arstechnica.com/tech-policy/2015/09/forcing-suspects-...
(but they might just have you enter them yourself instead :/)