For instance, the lock you choose for an armoured door will be different from that for a wooden or aluminium door. Or, if the structure of the door is weak or damaged, it will inevitably be less secure, regardless of the type of lock you install.
Even the best lock in the world is useless if installed on a weak door. For example, some garage doors in apartment buildings are made of sheet metal that is so thin, it can easily be cut and manipulated, without even having to touch the lock.