Mesh Tool - A Mesh Editor

https://i.imgur.com/6s75nfq.jpg

You can select the edges, set Selected Edges’ Crease to 1 before subdiv.

Or, you can try add additional edges to “protect” the border.

https://i.imgur.com/YKxKYa7.jpg