1. Seems like it might be criminal to walk off the job if you're a surgeon in the middle of a operation, firefighter at a fire, etc.
2. Otherwise, it seems possible that you could be sued by your employer for walking off the job but criminal, probably not.
3. If my employer tried to physically prevent me from leaving work, I'd call the police immediately.