What settings should I use and how long of an exposure can you take with a digital camera. I got nervous when the camera shutter locked open for a few seconds. I never worried with film but don' know if digital is different.

PS I know I have to wait for a lightning storm. I just want to be ready.