A long-debated—and long-awaited—law will make certain criminal convictions eligible for sealing when it takes effect in November 2024, impacting an estimated 2 million New Yorkers.