For a long time I couldn't figure out why my flintlock had such slow lock time...
An experienced guy taught me the errors of my ways...
I was using too much powder and, as I shut the frizzen, I was tipping the gun to the left, meaning that all the powder was now covering, and probably filling, the touch hole.
When the powder ignited, it had to clear all of that powder before it could set off the main charge.
Once I changed how I was charging my pan, lock times got a LOT better.