@Kidyounot,
Person A puts the object in the box, puts her lock on the box, and sends the box to person B.
Person B puts his lock on the box (now there are two locks) and sends the box back to person A.
Person A removes her lock and sends the box back to person B.
Person B removes his lock and opens the box.