mrb: add Table#locked?