Ex US, I have had my checked bags searched by TSA. I always leave them unlocked for this eventuality. TSA leave a note saying they have been searched but in my experience they do not latch them properly afterwards.
Only a very loosely replaced strap prevented all the contents spilling out on the tarmac. They won’t replace a cable tie either.