It's conceivable that the phantom-unmounting problem could simply be the result of a crummy cable, no? Try getting a new, high-quality USB-C cable or two from a reputable source, and see what happens if you connect the drive using one of them instead.
I've already tested with multiple cables, all of them supplied by Samsung with three T5 units I've purchased. No difference.
The problem only occurs during sleep. It works flawlessly when used and if you never sleep then it will stay mounted forever.