Germany just began any serious action, and there is a 2 week lag before seeing any sort of impact.
In Poland we had a national lockdown a week ago (which you can see everywhere - empty streets and so on), and so far the numbers don’t reflect it at all.
As for locking people down, yes you can do it, it’s called a quarantine.