My motors locking up

my group set up the controller config in block vex code for our 4 motor drivetrain and every time we move the joystick the motors lock and won’t spin we know its not a hardware issue because when we choose drive the motors spin just fine they only lock when we run our code and we’ve tried many different codes to prevent the locking but nothing is working can anyone help us troubleshoot this issue

Could you send a picture of your drive base and your code?