A unified model of molecular and atomistic spin dynamics is presented enabling simulations both in microcanonical and canonical ensembles without the necessity of additional phenomenological spin damping. Transfer of energy and angular momentum between the lattice and the spin systems is achieved by a phenomenological coupling term representing the spin-orbit interaction.