How do you turn on constant interpolation for keyframes in blender?
The settings in the N region only apply to the active keyframe (usually the one selected last).

To change the interpolation for all selected keyframes, press Header > Key > Interpolation Mode in the graph editor header, or press T while hovering over the graph editor.