I wouldn't use a bolt and lock nut as you will have it protruding into the area where you place your legs.
I'd probably go for the *** bolt idea, or maybe a t nut on the inside with a recessed bolt from the outside. Drill out the outside leg so it can rotate around the bolt and loctite the bolt into the t nut