Added lock to list of query expression keywords