[PATCH 12/14] locking: Add API to query whether automatic disk leases are enabled