Answer
Freedom of movement was not allowed during the reign of the Hongwu Emperor. During his reign, the empire was divided into military garrisons, each with its own set of laws and regulations. Travel between garrisons was strictly regulated, and unauthorized travel was considered a crime.