I used to work in the UK. I once worked for a company that had a salesperson that wanted to quit. He was forced to do a non-sales job for thirty days stacking boxes and sorting old files before he was allowed to leave and he hated every minute of it.
So yes, sometimes strong labor laws have a hint of slavery to them, but certainly not equivalence to real slavery.