I have one of these magnetic door stops on a bathroom door that swings open into the laundry room
one of the only doors in the house I didn't hang btw
working great for over ten years, got it at home cheapo but several different types and sizes available
$10 quick solution - good luck!
https://www.amazon.com/Door-Stoppers...dp/B0CHDVHTFD/