This Script is cool. but this have folowing exploit.
cast magick unlock to this trainer, then it will be unlocked ever.
so player can not use as trainer.

to fix this:
public override void Open(Mobile from)
from.SendMessage("This chest has been set for "+lockpicking+" lockpicking skill!");

this.Locked = true; // add this line