Locks or unlocks a file on the device.
Makes use of flock on the device.
References afc_file_lock().
Referenced by afc_file_lock().