Is there a cirquit to switch off internal lights automatically after 10 minutes if I forget them on to prevent a flat battery?
Yes if you just leave the door open, no if you manually turn on the map light and forget to turn it off. When in doubt, check the manual.
You can also leave the headlights on if you turn them on after the car is shutdown. The best plan is to carry a lithium jump pack in the passenger compartment, not in the hatch storage. With a dead 12v battery the hatch won't open. However knowing how to unlock the drivers door with the hidden fob key and how to jump the battery from the engine fuse box will keep you going. Plus having a jump pack gives you a way to jump other cars without risking a reverse jump with jumper cables from the Prius.