There were instances when feudal (or feudal-ish) governments imposed price caps on goods, particularly farm produce, and on movement of people. This usually happened in times of upheaval: disease, famine. England and Spain, at a minimum, did this on occasion.