def lock_device_ptr(a):
    import warnings
    warnings.warn("This function is deprecated. Use lock_array instead.", DeprecationWarning)
    lock_array(a)
This functions is deprecated. Please use lock_array instead.
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/lock_device_ptr