Added locks for navgraph and range