Most 3-rail track is made so that the 2 outside rails are electrically joined by the ties.
If you don't have the lockon, you could solder wires on. Just don't get solder on the top of the rail or where the wheels go. Soldering is a pain because of the size of the rails.