CTL_STATUS_t platform_configure_i2c_bus_ex(int index, PLATFORM_PIN_CLAIM_t claim);
platform_configure_i2c_bus_ex processes the parameter index as platform_configure_i2c_bus but configures the I2C bus pins using the claim mode claim.
You can use this to claim the pins of an I2C bus and lock them such that they cannot be reconfigured.