sounds to me like the system didn't initially recognise your key and shut your system down. By locking and unlocking the car, you re-primed the system to your key. It could be the battery needs replacing in your key fob (although a message should show up on your dashboard). If you can, carry the...