Confined to school, some cheating at Edinburgh (5)
I believe the answer is:
gated
'confined to school' is the definition.
(I've seen this before)
'some cheating at edinburgh' is the wordplay.
'some' says the answer is hidden in the clue (some of the parts of the word are used).
'GATED' is hidden in the letters of 'cheating at edinburgh'.
(Other definitions for gated that I've seen before include "Confined to school" , "deprived of liberty for a while" , "Forbidden to leave college" , "Kept in as punishment" , "temporarily confined" .)