In very general terms there is a direct relationship between the torque generated by a motor and the current drawn by the motor, in that order.
That is to say the motor needs to be driving some load to bother trying to develop torque. No load, no torque (other than internal friction in the motor), very low current draw.
As torque demanded by the load goes up, the current draw goes up. If the torque demand exceeds the torque that can be generated by the motor the shaft stops turning, and the motor burns up.
So, the way to limit the current drawn by a motor is to limit the load.