I’ve been able to do this trick on AA for sure, but not DL
on AA, if you have a Flight credit (locked to a person), then buy the cheapest, they now give you the rest as a Trip Credit, which is usable on anyone
https://www.flyertalk.com/forum/34643853-post631.html talks about this more too, recently.