Unfortunately, Simple Lighting is a bit too simple for this. If you have a motion sensor you also want to use for the lights, you could use the Motion Lighting app (it has options for contact sensors, but I don't think it can work with contact sensors alone--but importantly for you, it does have options to not turn lights off if they were already on). If you don't have a motion sensor, you could fake it: install and use this app (provided helpfully by a Hubitat staff member) to create a virtual motion sensor from your contact sensor, then just set up Motion Lighting with this virtual motion sensor.
If you'd rather not do that, you certainly could use Rule Machine. You'd need to somehow track whether the lights were already on when the sensor was opened, which you could use some kind of variable for (the rule's built-in Private Boolean is true by default and setting it to false would be one way you could track that, then check its value before turning off, then reset it; there is probably an example in the documentation but I could also provide one).