In Canada at least it’s not legal to charge for unlocking a carrier-locked phone as it’s considered anti-competitive.