locked rear wheel during regen unfortunately can very easily happen with road conditions, hit a bump, tire slips a bit, on a crappy road, some of these washboard roads out here come to mind, hit some sand, water, many things that could cause the wheel to lock up momentarily.
To unlock it you'll need to remove the braking force, whether it be from regen or you hitting the brakes. if both are working together, now you have to make sure they play nice with each other. choosing a milder setting for regen, of course will lessen these chances but still, no one can predict road conditions, and ironically, it is during these exact conditions that tc / abs is most critical to your safety.
I mention tc because although you should not be accel / braking at the same time, with normal riding, if your abs and regen is dancing, it's a good chance that the existing conditions, can ALSO be playing with your TC and start messing with power as well. (if your braking is easing off because your traction is poor, it's a fair leap to assume that your acceleration and applied power may also suffer, due to the same poor traction conditions), so offhandedly they can tie into each other a bit.
Another thing to keep in mind, lets say your regen is very high and you are regenning down pretty hard and start to lock. ABS won't do shit for you, you are NOT using the brakes... so who controls that? TC tells it, hey, back down the power you are sliding, (whether the power is going to or coming from the motor, it still has the same affect, too much will stall rotor.) OR do you want your ABS to work with TC too for regen braking, since afterall, braking is braking?
See how this stuff all kind of DOES tie in with other and has to work together? Im not trying to scare you but let you see that this can get complex if you want to do it safe. Maybe there's an app for that, who knows !
personally i like regen set high, but on crap roads, it and ABS can grief each other, if you are finding that your regen is acting squirrely ,it's probably set a bit strong for the road conditions you currently are in and turning it's aggressiveness down a notch should settle things out quite nicely.
Aaron .... throwing in some dessert. next time i'll be nice and bring some nanner puddin'