Snatch auich_get_locks() function.