I believe the answer is: enslaved people’s activities were restricted.
Slave codes dictate a list of activities that the slaves are banned to do in order to give the slave owners with absolute power over their salves. The codes were designed in a way to destroy's the slaves' will to run away or conducting a rebellion toward the owners.