How to restrict certain page to block swipe navigation

In Linearnavigation, I found I can disable swipe navigation as follow

<LinearNavigation ux:Name="navigation" Easing="CircularOut" Active="{currentPage}" />
     <WhileTrue ux:Name="CanSwipeTag" Value="{canSwipe}">
<Page ux:Name="Page1"></Page>
<Page ux:Name="Page2"></Page>
<Page ux:Name="Page3"></Page>

I want to restrict user not to navigate to Page3 from Page2 while allowing to swipe back to Page1. Please help me. How can I achieve this?

I’m working on a unidirectional swiping feature which might be what you want. It should be available soon.