Prius shut off lights

My 2010 Prius had to be jump started. The lights did not go off like they automatically do. I tried again in my garage and they didn’t go off again. Since then they’ve been going off. I’m wondering if I’m doing something wrong or if it is in fact an electrical problem. Anyone with a similar experience?