Add lock/unlock/hist methods to SDK