Two juveniles accused of making serious threats to a local school have been taken into custody, a school district said.