Locking Resources in SQL Server | Lock type | SQL interview Q&A