Phase locking and flux-flow resonances in Josephson oscillators driven by homogeneous microwave fields