When you delete a lock object, the function modules generated when you activated the lock object are automatically deleted as well. These generated function modules can still be used in programs or classes. Before deleting a lock object, you must find all programs or classes that contain these function modules and remove the calls to the function modules.
A dialog box appears in which you must confirm the deletion request. If the function modules belonging to the lock object are still in use in programs or classes, a corresponding warning appears. In this case you must adjust the programs or classes affected before deleting the lock object.
The lock object is deleted together with the function modules generated from this lock object.