He hadn't 'bargained on' how his new position in the company would change the way people treated him. [=he was surprised by how his new position changed the way people treated him]
You're allowed to go to the football game tonight, but I expect you to 'keep your side of the bargain' [=do what you agreed to do] and clean your room.
They've agreed to turn the land over to the state, and the state, as its part of the 'bargain', has agreed to keep it undeveloped.
(..) Or at least let me find out what happened to them. What is your name? Judah. Judah Ben-Hur. The bargain is this, Judah Ben-Hur. You owe me your life. I expect that bill to be paid. Release him. (MEN CLAMORING) MAN: Kill the leper! (..)2016 Ben-Hur