Especially when entering repressive countries such as the USA, Russia or China, you must expect your device to be searched. A burner phone can help you protect sensitive information because you don't have it with you in the first place.
If you do not allow your device to be searched, you may have to face refusal or detention in some countries.