Using a Line lock with hydraulic rear brakes

i have an idea, i have at my shop an 03+ clutch lever, which has the parking brake lock/mechanism, we could possibly get that to operate a cable that would connect to the modified brake lever, kinda in reverse of where/how the shorty brake cables hook up, that could possibly pull the pedal, pushing the master/locking the brakes when the handle is locked with the little push tab they all use ?????

or also mount to my master bracket and just pull up on the pedal extension, actuating the master

this would most likely require a custom length cable

and luni, you mentioned the other day about talkin to me a while back about my brakes, well now i remember, you drove me nuts over this parking brake, hahahahaaaaaaa