Not sure where you located... but carriers tend to accept any kind of damages as long as the phone screen comes on, you should be good.I do have a Fold 5. My screen has some scratches in it so I don't know if it would work as a trade in. If I can do a trade in with Samsung that is probably the better deal. Google offers $550 for my phone which would make a Pixel cheaper if the scratches on my screen wouldn't kill a trade. I am going to be switching to T-Mobile towards the end of next month so they might have a solid trade in as well. The Fold 7 is the safe bet though, I know I would be satisfied with that phone because my 5 is still amazing.
It's just going though Samsung directly... you can get an unlocked phone vs carrier bloat, but you can always remove it.