I have had my city starve using production priority and now will lock a tile use to prevent this.
Agreed, lock a tile or two, then remember to unlock later when growth is again needed. Automated workers unfortunately can sometimes upset the balance we have achieved by tile locking!
I agree with the op - choosing production focus should not put us into starvation, leading to a decrease in City size.