If you have a long running message processing workflow the you can check the lockedUntilUtc property of the message and call RenewLock at the appropriate time.
in the next release of SDK the OnMessage processing loop will automatically do that for you so that convenience API is always a good idea to use.