a small clarification here, rough and not very detailed:
Lock invented general military use discontinued
Matchlock 1400 1440 – 1720 - 1870
Wheellock 1500 never (banned) ? 1600 ?
Snaplock 1540 - 1640 - 19th C
Snaphance 1550 - 1680 - 1750
Flintlock 1610 1620 – 1840 today
"Renaissance" denotes many things, including an artistic period 14th C to 16th C (but not uniformly covered in different European countries) as well as a cultural movement 14th to 17th C. The use of the term as historical period is much disputed.
"Baroque" denotes an artistic period from late 16th C to early 18th C, it is not covered in every country during the same period and also not undisputed due to overlapping with late Renaissance (Mannerism) in the beginning and Classicism in the end. There is also Neo Baroque in the 19th C. It is generally related with the artistic need involved with counter-reformation campaign of the catholic church.
I hope it should be clear that it is difficult to draw lines here, since history is a fluid.
However, since the representation of firearm locks in miniature was referred to, I very much agree that it is dificult to see a difference between matchlock, snaplock, flintlock and even percussion lock. All feature a snake-shaped lever that ignites the powder. And finally a wide mixture of firearms was used, especially in technically low developed regions without access to industrialized weapon manufacture.