Can you give us more details on what the car is please. Later cars have an immobiliser ring in the lock. If the battery is low it may not work well. As said search for the Dave Wellings thread on this
JohnV6 2022 CX Plus Four 2025 MG ZS EV aka Trigger