Do you need a scan tool to clear the codes after replacing the new pass lock? on 2003 Oldsmobile Alero

Relaced pass lock and will not reset. The security light stays on even after 10 minutes.

Asked by for the 2003 Oldsmobile Alero
new passlock came with a set of instructions to do key on /off cycles did you do that?...if you did do not need a scanner....