Based on the condition of the gun it seems to be an old lock and barrel that was restocked recently. "Recently" is a vague term that could range anywhere from 90 years ago to within the last year.
The reason I think the barrel is old is because, all of that pitting around the nipple is typical of the corrosion caused by the percussion caps that were used in the 1800's. The hammer on the lock seems to have been repaired with brazing material. Not an uncommon procedure but also not a very good one. The brass brazing material isn't very strong and it is likely to break if the lock is fired a lot of times.
The name on the lock is probably the name of the person who made it. I don't find any record of a gunsmith with the name "UAYTON" or "U AYTON" or "DAYTON" in my American Gun Makers listing but on more than one occasion, locks were marked with the name of a private company that just sold the gun parts, kind of like Montgomery Wards having their company name stamped on guns made by Marlin.
In any case, you have a fine rifle there. Something to hold on to even if you don't plan on shooting it.