With the panel removed disconnect the wiring connection on the right side of the lock (red arrow).