Surface friction under time-dependent loads