line lock not releasing?

With the exception of the toggle switch (I use a momentary contact switch) that's exactly how I have mine. It should work.

I guess it's possible you got a bad unit.
That's would put me at two for two
(I had bought a new oil pressure switch for the wife's brand X, and the silly thing broke in half during installation)