No. All we're doing is extending the curve so that the virus doesn't overwhelm the NHS in one short spike, resulting in many more deaths.
The virus itself is going nowhere - it will in all likelihood become a recurrent, seasonal coronavirus strain. Even if we manage to "flatten the curve" over the next 1-2 months, the reality is that another spike will probably hit us around October-November unless the asymptomatic portion of this pandemic is around the 80% mark and a lot more people have it all over the UK than previously thought.
So to answer your question, this "all ends" only when the virus infects enough of us to develop herd immunity, and/or a vaccine is found. You're looking at 12-18 months for both of those things to occur. In that time, expect many more lockdowns to occur.