In Canada the way to work around 2FA SMS is to have mobile data roaming off with roaming on, (then switch your sim card to your home number). The incoming text messages and leaving incoming calls ignored won’t charge you. It will only charge if you use any mobile data at all, send a text, SMS, MMS message, make any call (including to voicemail) or accept any call (some charge for rejecting a call but won’t if you let it timeout on its own).
I hate having to use it, but when so many terrible services only allow sms 2fa it is mandatory to have as an option when travelling out of country.
In Canada the way to work around 2FA SMS is to have mobile data roaming off with roaming on, (then switch your sim card to your home number). The incoming text messages and leaving incoming calls ignored won’t charge you. It will only charge if you use any mobile data at all, send a text, SMS, MMS message, make any call (including to voicemail) or accept any call (some charge for rejecting a call but won’t if you let it timeout on its own).