Ford Explorer Making Clicking Noise and Lights Flashing on/off while car is turned off!

Help!
Went to go turn on my car today and it made a rapid clicking noise. When I turned it off and locked it, the lights keep flashing on and off…any suggestions?

What year is your exploder. And what lights are you referring to. Dash lights, headlights, check engine light???

Yosemite

Sounds as if the battery is low.

That’s what I was wondering @knfenimore;

I’ve seen it where while driving all the doors kept locking and unlocking on the driver all by themselves, and the dash lights all flashing.

Yosemite

I had a bad battery problem much like that a year or so ago, in rural Mexico. I had never seen such a problem before. A new battery solved it instantly.