For Karn’s second loyalty ability, you don’t choose how much mana to pay until the ability resolves. Once the ability begins to resolve and you have paid, no player may respond until you have finished all the steps of that ability.