avoid lock switched on when leaving navpage (after route edit)