Apr 13, 2017 - 5:23 AM
Which chocolate and cheese factory do you mean? The ones that are well known and free with the Swiss Travel Pass are in Broc and Gruyères. That's not near Luzern though, it's 2.5 hours of traveling one way. You can fill out "Broc-Fabrique" in the timetable to reach the chocolate factory and "Gruyères" for the cheese factory.
Please see here for purchase options of the Swiss Travel Pass.