Yes, they do, but not all people carry laptops where pretty much everyone will have a smartphone. There have been references to Cellebrite devices which target smartphones. So when all you have is a hammer, you focus on the nails.
There are stories online of people having a "travel" laptop where they fill their USB/Thunderbolt ports with epoxy or similar to prevent device connections by anyone not just at border crossings.
If the border guards see that your laptop has epoxy in the ports, and that by definition you are using this technique for privacy-averse countries, sounds like you won't be making the flight any time soon.
What border guards have you seen that would inspect a laptop that closely in the first place? I fly relatively frequently and all they care about is that it's kept in a separate bin to the rest of your luggage, no one looks at it upclose(also you can damage ports in a way that isn't visible on the outside).
99% of my flights have been exactly like this with no device inspection, and I've been in multiple autocratic countries. What I meant is that if they are at the stage where they are looking to plug into your laptop, having the ports blocked like this will immediately cause problems for you in countries where blocking your ports would be useful. It's a catch-22
Ah, I see - sorry I misunderstood. I thought the comment meant that you'd be stopped from boarding the plane in the first place if your laptop has glued up ports.
Nothing exciting or worth sharing to be honest. Anxious hours spent in the airport followed by entry denial. There were no real consequences other than stress in the moment and the inconvenience of having to re-book a ton of things.
Pulling out the hard drive might be effective if it's 2002 or something. If you have a modern laptop like a MBP, then the drive isn't really removable. If you were to remove it, the use of encryption linked to the T2 chip makes the thing useless.
There are stories online of people having a "travel" laptop where they fill their USB/Thunderbolt ports with epoxy or similar to prevent device connections by anyone not just at border crossings.