Welcome, and thanks for using Just Answer. I am Cam, and I will do my best to assist you. When you are finished please click on accept only if you are satisfied. I don't get paid unless you do.Please do not accept if you cannot leave positive feedback. I don't know if you are a tech or a just working on your own vehicle so we may have to fine tune the answer. I only know as much about your problem as you have told me in your post, so my answers will be based on what you tell me so please add all the details you can. About your vehicle,
Does the dash indicate which door is open?
OK, Which lights specifically are going on and off?
OK, I would unplug each door to see which is causing this. One of the door switches has likely failed. This is part of the door latch assembly in each door.