Spanish looking miquelet lock. Percussion was invented around 1820 so after that and to my eye lookes more 1850-1880 from the rest of the hardware.Interesting piece the proof marks on the top of the barrell or on the bottom would tell you for certain where the barrell is from the problem is it looks pieced together from multiple guns and restocked from the pics provided. Also it looks like it was rebreeched from flint to percussion as the breech area doesn't seem to match exactly. So you may have a earlier originally flintlock barrell with later hardware restocked with the spanish style lock?
Chris