Regimes of frictional sliding of a spring-block system