1. A method, comprising: receiving by a first application an input from a user; performing a first service by a second application on the input received by the first application; obtaining a log of all data locks set by the second application while performing the first service, wherein the log indicates a data lock object and a data lock argument for each data lock set by the second application; and setting a generic lock having an associated generic lock object and a generic lock argument, wherein the generic lock argument indicates the data lock object and the data lock argument of at least one data lock set by the second application, wherein the generic lock is set after performance of the first service by the second application and before a performance of a second service by the second application, the generic lock remaining set until after the performance of at least the second service by the second application, such that the generic lock remains set during a time period between the performance of the first and second services by the second application during which the second application is not executing.