Clipless pedals are the way to go. As well you can get mountain bike shoes that have a recessed cleat for walking around.
If you definitely don't want clipless there are pedals that have pins or grips that grip your shoes like these:
https://jet.com/product/detail/0b0c6...f-0f2c8fffe16e