Implemented the purchasing of locked pens.