I don't think it's that simple. There's not necessarily a direct progression in science from a theory to a law. Also, the way that scientists use the word 'theory' is a little different than how it is commonly used in the lay public.
As an example, there are Mendel's laws. He came up with them more than a century before scientists discovered DNA and chromosomes, which are the biochemical explanation for them.
Also, think about Newton's laws of motion and gravity. He had no real idea about the nuts and bolts of how gravity works. He observed and proved mathematically what was happening, so voila, there are the laws. I believe we still use his laws when calculating things like orbital trajectories, course corrections, etc., for the probes we send to planets and to deep space.
A quick and easy read on this subject, for the layman (like me) can be found in the link that follows.
https://www.livescience.com/21491-what-is-a-scientific-theory-definition-of-theory.html