That's a wonderful question! I don't know the full answer but I do know some of it. Jack SNUCK into the TURKISH PRISION because he was LOOKING for the drawing of the key. As for the key, I think there were just pirates in the prison that knew of Davy Jones [all too well] and knew what the key looked like.