Enable a client to lock and access the native buffer directly.