Conditions for Setting the DTC
WARNING: This page is about a different car, the 2002 Chevrolet Malibu. However, it is still accessible from the selected car via links, so may be relevant.
The PCM remains in theft deterrent password learn mode for more than 2 seconds.