Extend lock time for Instance

Hello,

I ran into a problem where a process instance took longer than the 5 minutes that it gets locked for by default.
All three taskworkers worked on the same job which meant that no others could been started.
Is there any way to dynamically change the lock duration for an instance?
I found a extendLock method for external Workers but I am using delegate expression in combination with spring boot services.

edit:
Alternatively are there any downsides to setting the lockTimeInMillis property to a rather big value (multiple hours) if you do not use external task workers?