Certainly with the benefit of hindsight, there should have been a much stronger show of force/barricades/etc. Should that have been obvious even without hindsight? Don't know.
That said, once the Capitol Police were outnumbered and things were getting out of hand, I'm pretty sure the best outcome if they had used deadly force to stop a rush would have been headlines like "Dozens of Trump supporters dead after police open fire on crowd." Worse scenarios include the police getting overwhelmed anyway and many of them killed also leading to a firefight within the capitol.