It is not clear if you are talking about a juvenile charged as an adult or a juvenile in the juvenile justice system. If the person is under 18, but charged as an adult, they face the same penalties as if they were over 18. You can rest assured, however, that the person's age will be a factor considered by the judge. If the person is in the juvenile system the court does not "sentence" them. Rather, they are ordered to recieve services from the Department of Juvenile Services. Those "services" could include detention in alocked facility. It all depnds on the case and the person.