<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lock_status(account_id, resource_id, parent_id):
 """Show extant locks' status """

    return output(
        Client(BASE_URL, account_id).lock_status(resource_id, parent_id))