Create the lock later (usefull if db is down)