Consider the image below. These are the five legal states of a H-bridge. There are two illegal states (will cause damage) and four that don't do anything.
All switches OFF - any current would freewheel by the supply & decay
1 & 2 ON - positive current can build up in the load
3 & 4 ON - negative current can build up in the load
1 & 3 ON - zero volt loop that minimises load current decay OR shorts winding.
2 & 4 ON - zero volt loop that minimises load current decay OR shorts windings.
For each state, the current path is shown. THe diodes are present to ensure there is always a path that the load inductors current can take.
There is however a massive difference between the freewheel paths of State1 & State{4,5}
In state1, the "natural" freewheel path, the safe & default path, the main DClink is in-circuit. Thus to facilitate current flow, the load's voltage must be greater than this voltage. This will cause the current to decay relatively quickly and thus there will be some deceleration torque experienced at the shaft
In state{4,5} a "zero volt loop" can be established across the load and thus the free-wheel conserves the the load inductors current. Once the rotor has stopped however these schemes will facilitate a pseudo-locking mechanism
