Green’s Dictionary of Slang

Works, the n.

[late 19C] (UK prison) any of the convict prisons at Chatham, Portsmouth, Portland, or Dartmoor.