better handling of navigation controller to present lock view