2.10.1.8.2. Lock Timeout Hint
To specify a lock timeout hint in milliseconds to those databases that support it, specify a hint name of openjpa.LockTimeout or jakarta.persistence.lock.timeout with an integer value greater than zero, or zero for no timeout which is the default behavior.