We studied the electronic and magnetic dynamics of ferromagnetic insulating BaFeO_{3} thin films by using pump-probe time-resolved resonant x-ray reflectivity at the Fe 2p edge. By changing the excitation density, we found two distinctly different types of demagnetization with a clear threshold behavior. We assigned the demagnetization change from slow (∼150 ps) to fast (<70 ps) to a transition into a metallic state induced by laser excitation. These results provide a novel approach for locally tuning magnetic dynamics. In analogy to heat-assisted magnetic recording, metallization can locally tune the susceptibility for magnetic manipulation, allowing one to spatially encode magnetic information.