If an investment is subject to divestment under this subchapter but is locked into a maturity date and an early divestment would result in a financial penalty and cause a negative financial impact to the state or a public entity, then the investment is exempt from divestiture under this subchapter in order to prevent financial harm to the state or the public entity and ensure that the fiduciary duty for the state or the public entity is met.