Jesus has keys to open and shut (Revelation 3:7). That makes him a new Eliakim, successor to Shebna as the overseer of the house of David (Isaiah 22).
It also makes Him a new Nebuchadnezzar, who locks up the cities of the Negev so that no one can open them as he carries Judah into exile (Jeremiah 13:19).
It also makes Him a new Cyrus who opens doors and against whom no gates are secure (Isaiah 45:1).
Jesus with the keys is the one who brings exile and releases from exile.