John opened the window and climbed out because he didn't want to listen to someone for an hour. Where might he have been?
classroom friend's house front door
classroom
an hour is the typical length for a school lesson, and the fact he knew in advance it was an hour means a fixed time period, making a friend's house extremely unlikely.
listen to someone for an hour