Exchange locks

Now I wanted to ask if I could change the cylinder for the one out of the door??