Hi Eduardo,
I'm sorry that link is wrong. That's for the Office JS API, not Office Scripts. The equivalent documentation for Office Scripts is here: Platform limits and requirements with Office Scripts.
Here's a sample that should help show you how to split operations into smaller pieces: Write a large dataset.
Under the hood, Office Scripts is trying to optimize your script by reducing the number of calls to the workbook (all that context.sync() stuff is happening on your behalf). To get a script to write a smaller amount, you'll need to trigger that by splitting your write operations into chunks and calling console.log between those calls.