When I started my car this am all lights where flashing and wouldn't stop on 2011 Kia Sorento

My car was locked this am even though smart key was in the car and now all lights (exterior and interior) flash and will only stop when I turn on the headlights and I need to replace a fuse or what?

2 answers
See dealer for warranty repair. No way to answer without guessing. That does no good!
warranty issue