Previously, Hibernate used to support this net.sf.ehcache.hibernate.cache_lock_timeout which controls how much time a given 2nd-level cache entry is allowed to be locked logically by the READ_WRITE cache concurrency strategy.
You can see the configuration in use on this old ehcache implementation.
Nowadays, the RegionFactory defines a default timeout:
and the AbstractRegionFactory overrides it to:
which is implemented like this:
So, basically, there is no way to change this value using the Hibernate configurations.