Perhaps, but what if we replace the 'does not want to work' part with 'cannot work'? Does it change anything to you?
About this part:
"From each according to his ability, to each according to his need"
this is a core principle of communism (not socialism) as an economic system. But what people forget when considering this phrase is that communism is built not at some empty place, but basing on socialism first. Both systems suggest a long and hard work on people, their views and ideology. According to communism theorists, it would not only be immoral not work, but considered something completely out of human nature, something people just not do. (Of course, we're talking here about these 'perfect humans' that populate a theoretical communist state).