A Virginia law going into effect on July 1 will seal the criminal records of many people convicted of low-level offenses.