Thanks for the answer.
But there is any way to do this without access to the files in wp-content? Because I don’t have access to these files by my server.
Thank you so much v123shine for the help, I can find the solution with your comment. In the page.php I put code:
<?php
if(!post_password_required())
{
get_sidebar();
}
?>
Instead of:
<?php get_sidebar(); ?>