Do not enter in a sandbox if the database is open

One may try to write on need meaning it would need to create a -journal file
Do not count the lock owner as lock blocker.