add new lock context for database