Did not read all posts but if engine dies rear end will not lock, l think we all agree about it.
l think it is the opposite way, rear end locks than engine dies...
Same thing happened to me with the front wheel.
'94 R1100GS, 105k km. Factory hoses on it.
2 months ago no problem while running but going down hills on neutral, slow speeds bike slowed down, something holding the bike.
Someday bike on centerstand, found the front wheel is not rotating, calipers holding the discs, after 5 minutes they released the discs.
Checked pads, pistons, all fine, did not care much.
Next day front wheel stucked at all, luckyly did not have an accidend. Released after 1 hour itself.
Reason was;
Hose above front fender worned inside. When pump the brake oil moves forward but worned hose does not let it back for a while, at last did not let the oil back at all.
Changed the hose and running well since than.
Yes, brake hoses are an impotant issue, we all should replace them on older bikes...
This seems like an inside worned rear break hose to me.
Pumped the rear brake, worned hose does not let the hydrolic back, locks the rear wheel, kills the engine.
After some time releases the oil back, all so fine till you hit the brake again.
Might sound nonsence but give it a think, check the brakehoses.
Basri...