It would be the safest option to change your security door locks when you move into another building. That's because you have no idea as to who else could have keys to that old security lock. So it is better to be safe than sorry and change it as soon as you move in.