The company won a multi-million-dollar 'contract' to build a new courthouse. = The company was awarded a multi-million-dollar 'contract' to build a new courthouse.
The company 'contracted out' its manufacturing jobs. [=the company paid another company to do its manufacturing jobs instead of doing them itself]
If he breaks the 'contract' [=if he does not abide by the agreement], he will get sued.
(..) I won't live with you. There's only one month left. You can't leave me! You won. It's over. No one can stop you now. I honored my contract. I came back... I helped you win. It was my duty. It's over now. You'll be President. - Leaving after all we've done. - I don't know. (..)2016 Me Before You