How we can use 'for update' clause in frappe.get_all()

How can use for update clause in

frappe.get_all()

Can you explain what exactly you wish to do ?

i want to lock certain records using for update clause in get_all() method

Anyone ?