While my Volvo 740 was parked, with no key in the ignition, the headlights came on. The light switch was in the "off position". Turning the switch on, then off again did not turn the lights off. Also the car will not start now.
We could use a little more info. When you say the car will not start now, is it becuse you left the lights on for hours and ran down the battery, or just an additional descriptor.
One quick guess, if the battery is still charged: There may be a problem with the ignition switch electrical contacts. Do other accessory items work in the present state? i.e. Radio, electric windows, brake lights, wipers, blinkers . . . . . . . If it turns out to be a problem with the ignition switch, the electrical section is replaceable without changing the lock.