Hi Firstimer!
Walking from Puerta del Sol to the museum shouldn't take you more than ten minutes
Living across from El Prado myself, I can tell you that if you don't allow your belongings out of your sight, and specially, your purses and bags are always zipped up and well clutched close to you, you're not at all likely to 'lose' anything
Welcome to Spain!!!