I am Dr. Hoellering and pleased to help you with your question.
You seem to know that statin tablets can cause muscle ache. But the type of circumscripted pain you describe isn't typically for that at all. Statin muscle pain usually appears in both legs and not only while you walk. Please have your erteries checked, there might be a stenosis.
Okay, I understand. In those cases you usually stop the medication. If the statin caused the pain, it will disappear within two weeks. If it does, you might try another statin. Often enough people can deal with one kind better than with another.
Please discuss this with your doctor.