Owing to the unique double-FeAs-layered structure between neighboring insulating layers, the 12442-type Fe-based superconductors are expected to host rich vortex phenomena in the mixed state. Here, we report a systematic investigation on the influences of quenching treatment and cobalt-doping on the magnetic vortex dynamics of KCa2(Fe1-xCox)4As4F2 (x = 0, 0.1) single crystals via electrical transport measurements. It is found that the slopes of the upper critical field near Tc, dμ0H/dT|Tc
along both directions (H⊥c and H∥c), are doubled by the cobalt-doping with x = 0.1. The activation energy is acquired by analyzing the Arrhenius plots, which shows a H-α dependence with a change in the exponent α at around 3 T, indicating the evolution of the dominant pinning mechanisms in different field regions. Importantly, the quenching treatment obviously enhances the magnitude of activated energy, which can be suppressed by the introduction of cobalt-doping. Such a behavior is consistent with the evolution tendency of critical current density Jc. Possible mechanisms for such evolutions of the thermally activated flux-flow behavior are discussed.