The word you are looking for is escrow. Banks provide escrow services, and are used by businesses. Depending on the industry, for larger transactions escrow is mandatory.
I'm not sure if banks provide escrow services for our use case. There should be someone already doing something similar. If not, well, you have a startup idea.