Lucerne is generally a safe city, and there is no no-go area, even for single travellers at night. Of course crime exists, and be on guard against pickpockets just as in any European city.