rename locks-query to locks-fragment-query and locks() to
locksFragment()