Help to encode data to use the Timelock

Hey Rafael! I'd suggest you check out the tests for the Timelock contract in the repository, they should help in understanding how to craft txs to be sent via the timelock:

This guide may also help:

A simpler alternative could be using Defender. We recently added support for Timelocks on Defender Admin. You can get a free individual account that works fine on Matic to run txs through a Timelock. Let us know if that works for you!