Slave codes were created primarily to increase an owner's control over enslaved African Americans' behavior. These laws were designed to regulate the lives of enslaved people and ensure that they remained subservient, preventing any form of rebellion or escape. Therefore, the correct response is:
They increased an owner’s control over enslaved African Americans’ behavior.