i missed the reference to sql. if a sql db is in use the simple alias issue doesnt really apply.

another possibility is a user interface element while a lock is in effect for example an info box

we have made a package to replace the info_box type messages to check for a lock and throw an error just to keep it from happening