I have not done this yet but the answer is Yes. User the Enumlocks record to create a table that will show you what locks are on the table and who has them. You will also want to set Exclusive locks on the table when you are running your routine.
From the Object Pal help:
enumLocks ( const tableName String ) LongInt
enumLocks creates a Corel Paradox table specified by tableName that lists the number of locks on the specified table. If tableName already exists, this method overwrites it without asking for confirmation. If tableName is open, this method fails. For dBASE tables, this method lists only the lock you’ve placed (not all locks currently on the table). You can also include an alias or path in tableName; if an alias or path is not specified, Corel Paradox creates tableName in the working directory.
lock ( const lockType String ) Logical
Description
lock places locks on the TCursor. The lockType argument is one of the following String values, listed in order of decreasing strength and increasing concurrency.