Notes

Locks obtained: Locking is used to prevent concurrent operations.

The lock is released:

You may also issue the Deallocate Object (DLCOBJ) command to unlock the table.

Conflicting locks already held by other application processes will cause your application to wait up to the default wait time of the job.