I’m sure there is no lack of effort to do this. Someone would have to be extremely naive to think not.
When I was in Venezuela a decade ago, border guards detained me and tried to get me to give them my FR password.