On my hybrid commuter, I have an inexpensive cable lock that lives on the handlebar. I just have to push the ends together and relax the coils a bit to get it over the brake lever. It rides fine on the flat of the handlebar.
But then where I ride/park isn't a high theft area. I don't know if a heftier cable would fit like that.