Hello @Dmytro and thanks for reaching out. To end the Azure AD B2C session you need to Send a sign-out request. For more information take a look at Session Sign-out.
Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.