History-dependent friction and slow slip from time-dependent microscopic junction laws studied in a statistical framework.