[io][HDF5File] benefit when possible of the "locking" parameter from h5py
will be applied only when HDF5 >= 1.12.1 or 1.10.x >= 1.10.7 Old 'API' from environment variable will still work.
will be applied only when HDF5 >= 1.12.1 or 1.10.x >= 1.10.7 Old 'API' from environment variable will still work.