WARNING: This page is about a different car, the 2001 Subaru Outback and 2001 Subaru Legacy. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect battery ground terminal.
Fig 1: Disconnecting Battery Ground Terminal
Remove the lower cover and then disconnect connector.
Fig 2: Removing The Lower Cover
Disconnect connector from AT shift lock control module.