Part of packing and preparing to visit the Land of the Free. General idea: don’t wait until you’re in the line approaching CBP to prepare. Know what rights you have, or not. https://www.theregister.co.uk/2017/02/14/reg_guide_to_data_security_when_entering_us/ This is an update from the earlier article on your rights at the border. Have a nice trip!
Your rights are not the same at the border as inside the USA. Remember CBP agents are doing their job as well as they can, in an environment where rules are still being created on the fly. No benefit in annoying them.