Simplify the following text for a Grade 10 native English-speaking person.
Original: Seppuku eventually became a key part of bushido , the code of the samurai warriors ; it was used by warriors to avoid falling into enemy hands , and to attenuate shame and avoid possible torture .
Simplified: Seppuku was a key part of bushido , the code of the samurai warriors ; it was used by warriors so that they would not fall into enemy hands and be ashamed .