That "re-locking" you experienced...
...was the TSA screener worn-out and tired-looking, as if from a long shift? And did he mumble anything about: "There y'are, sir. Are those handcuffs too tight?" or anything?
Maybe he was confusing you with someone he thought might have refused secondary.
Mistakes happen.