You are correct, Ben shot Locke and left him for dead. When Locke told him what Jason said, "help me", Ben said something to the effect of Jason helping him now. We were left hanging as to how Locke got out of that situation.
In the first episode of this season, they did show Walt telling...