Boy climbs into window after locking door