I worked with someone like this. I did the entire setup and migration, while he literally hid and slept in the server room. Then I did the weekend work from the hotel, while he slept in. He took the company van to lunch and didn't bother to knock on the door and see if I was hungry.
The worst was when I went into the communal bathroom and saw shit on the floor, the toilet seat, the toilet paper, the plastic surrounding the spare paper... But none on the sink. He didn't wash his hands. No one fessed up so I reviewed the camera footage in the hallway and eliminated anyone not walking near the bathroom. I called him out and said I'm not his mother and I shouldn't have to clean his literal shit because he's too lazy. We lost an office manager to his bathroom blow ups before - she quit when she started scrubbing and realized it wasn't worth it. I was being paid a lot of money to design and implement networks, but now I was scrubbing shit. He cleaned it after that.
But even then he wasn't fired. He brought beg bugs into the office. He wasn't fired. Eventually his slacking off cost an upper manager his evening. No one listened to me complain until someone "important" had to deal with it.
Never again!