1.) Walking down the hallway, all the lockers were open.
A.)correct
B.)misplaced or dangling modifier

2.) Two cars were reported stolen by the police this week.
A.)correct
B.)misplaced or dangling modifier