Adding braking to a H-bridge schematic
For your braking function, I am guessing you want to turn on only the lower transistor of both half-bridges.  You can't do it using that circuit, since each input operates an upper transistor and the opposite lower transistor.  You have to modify the circuit to drive each transistor separately.