Prediction of radiation-induced frequency locking and shifting in a microwave oscillator