Is the warranty void if a phone was bought from Carphone WH and unlocked using a code?

Cheers