An individual school's punishment policy (including their policy on detention) can be found in its prospectus, available from the school directly.
The Department for Education website has information on the use of detention in schools.
Corporal (physical) punishment was banned by law in all maintained schools from August 1987.
Permalink: http://www.surreycc.gov.uk/?a=208853