has anyone tried to use a line-lok as a parking brake?

ok, so i pulled out all my emergency brake stuff, to get the hydraulic clutch master cylinder in, and now i am wondering.
i have a line-lok that i do not intend on using cause the cart is for the street. but, what if i hooked the line lok up to the front master cylinder, and when i go to park, i just pump the brakes a few times, and then push the button, as in a parking brake.

anyone see me haveing a problem with this idea? please enlighten me. thank you