A boy works on a project in shop class.
The boy peeks through a doorway at people working on their shop class project.
If the boy is in shop class he can't be peeking through a doorway at people working in the shop class.
The boy can either be working on the class or he can peek through a doorway at it from the outside, not both.
Either the boy works or people are working.