HE IS THINKING...
He saw what you were doing. He didn't like it. The basement door locks forever.
You manipulated the objects, unlocked your restraints, and slipped out while he wasn't looking. You are free.