Green’s Dictionary of Slang

Works, the n.

(UK prison) any of the convict prisons at Chatham, Portsmouth, Portland, or Dartmoor.

[UK]Five Years’ Penal Servitude 37: What is called ‘The Works,’ i.e. one of the convict establishments at Chatham, Portsmouth, Portland, or Dartmoor.