Quantifying Lock Criticality for Inland Waterway Navigation Using An Agent-based Simulation