The Choice Scarf will temporarily have no effect. This includes both the stat boost and the move locking. After the Dynamax/Gigantamax is over, any previous move lock will be re-enabled.