If I am seeing this correctly you actually have your existing lock with part of wiring attached (disregard fact that you managed to disconnect large connector from lock - put it back and look at the lock with that part of wires as one). Now when you disconnected the wires (from the lock with wires attached) you actual,have connector with 6 pins and connector with 2 pins. These connectors should connect to your "new" lock. I just hope you have enough slack in wiring.
I do hope I managed to explain you what I see/think?
I do hope I managed to explain you what I see/think?