The TV-B-Gone is really cool especially because it's so small but of course it just shuts off the TV. I've seen a few keychain sized universal remotes that have buttons.
I just wrote a comment in reply to someone suggesting unplugging the TV: https://lemm.ee/post/65246982/20771041
Basically it's nice that you get peace and quiet but turning it off is more noticeable.
GSMarena has specs for most smartphones including infrared (listed under connectivity).
Here's a link to a search showing all phones in their database with IR: https://www.gsmarena.com/results.php3?chkInfrared=selected note I haven't checked accuracy or completeness, it might be best to check the specs for your phone or search if your phone supports it.
If you got an old phone or an old PDA it might have IR if your current one doesn't.