Binding and loosing is rabbinic legal speech — forbid and permit — not a magic keychain.
Isaiah’s key of David opens and shuts. Jesus gives that key-work to a people who confess Him.
Matthew 16 and 18 attach the keys to confession of the Son and to church discipline inside that generation’s assembly.
The old Sanhedrin claimed the keys of Moses. The Messiah relocates the court to those who receive Him before the old court falls.
The New Creation people announce an already-decided verdict: open in the Son, shut outside Him.