[Core, Locking]: Enable database locking in RestXQ