Here is a cheap, easy and fairly secure, way to go.

I found that a D ring to my helmet would fit over the knob on the end of the brake handle. A small luggage lock can be put at the end of the handle and the helmet is secured. I just keep the lock in the tool bag I have on the fork.