It's pretty much the same on other a/c. On the Airbus after t/o you can retract flaps when passing F speed and slats at S speed. For approach S and F speeds become maneuvering speeds and you normally does go below them unless you're in the next config.
Never flown a Boeing, but I think it's the same