Va. Code Ann. § 55.1-1221
The governing body of any locality may require by ordinance that any landlord who rents five or more dwelling units in any one multifamily building shall install:
3. Locking devices that meet the requirements of the Uniform Statewide Building Code (§ 36-97 et seq.) on all exterior windows.
Any ordinance adopted pursuant to this section shall further provide that any landlord subject to the ordinance shall have a reasonable time as determined by the governing body in which to comply with the requirements of the ordinance.
1977, c. 464, § 55-248.13:1; 1988, c. 500; 2017, c. 730; 2019, c. 712.