Car lights don't work right?

I drive a ford expedition. And i used it around 4pm yesterday and it worked fine. Then around 6pm i went to use to again and my car has a code outside to unlock the door which doesn't work now, my door locks from inside don't work, My automatic headlights don't work i have to manually put it on. And when i open the doors the lights inside don't turn on anymore. My windows work fine, my car turns on fine, and my radio works so i don't think it can be my battery. But my sister did leave her charger plugged in my car for two days. So i don't know if that changed anything.

Sounds like a wiring or computer issue.