New library to control a robot with two stepper motors

I mean, it is possible keep the motor stopped with the coils energized? To lock one wheel at its position. Just stop one motor dont work in some cases.