As said already, 'toe clips' make sure your feet stay with the pedal. It sounds way scarier than it really is. My first road bike had Shimano 600 pedals and straps. Your foot was welded to the pedal. Now I use a Shimano SPD system. A simple lift and twist and the foot is off the pedal. Unfortunately, this requires a specific shoe that can accept the cleat. But, fortunately, there is a wide selection of shoes that accept cleats. Most common are MTB shoes that look like a hiking shoe.