An Ipswich teenager who agreed to look after a drugs stash for someone as a favour was held against his will and beaten up as punishment after the drugs were seized by police during a raid at his home, a court has heard.

Samuel Lockwood was reported as missing by his family after his disappearance and when he reappeared he had a number of marks on his back which were consistent with him being punished for “losing” the drugs, Ipswich Crown Court was told.

Lockwood, 18, of Bishops Hill, Ipswich, admitted possessing heroin and crack cocaine with intent to supply and was given 12 months detention in a young offenders’ institution suspended for two years.

He was also given a 30-hour attendance centre order and a six-month curfew.

Lockwood was also ordered to do 140 hours unpaid work in the community.

Also before the court was Oshanie Ashton-Coburn, 21, of Forest Lane, Martlesham Heath, who admitted being concerned in the supply of heroin.

He was given an 18-month jail term suspended for two years and ordered to do 240 hours unpaid work in the community. He was also given a six-month curfew.

Jamie Sawyer, prosecuting, said police officers who carried out a drugs search at Lockwood’s home in December found 32 wraps of heroin with a street value of £1,600 in his bedroom.

A further amount of 14g of heroin was also discovered as well as a single warp of cocaine.

Mr Sawyer said Ashton-Coburn was arrested after his fingerprints were found on black plastic wrapping containing the 14g of heroin.

Marcus Croskell, for Lockwood, said his client had naively agreed to look after the drugs for a man called “Oscar”.

When the drugs were seized by the police Lockwood was punished by being held at a property on Chantry estate and subjected to violence.

He said Lockwood had been foolish and his court appearance was a turning point for him.

Peter Barlex for Ashton-Coburn said his client had acted as a drug courier at a time when he was associating with people involved in criminal activity but couldn’t say when his fingerprints got on the packaging contains the heroin found at Lockwood’s house.

He said his client wasn’t a drug user and was in work.