I just welded some pin locks in some boxes in a L configuration a couple months ago, work just the same but sideways.
The red things are small pieces of tubing. I used short pieces of 1/2" pipe. drill a hole in the top of the box and weld one in, then weld one in the bottom of the box, not...