You need to complete the circle boss and square boss to unlock red box level, and you need to complete red box level-pentagon boss to get in the blue box.