Implemented LockSize() for xgb

Hello,

I implemented the `LockSize` method for the xgb backend. That's all.