I guess, it must be related to Lock Escalation Threshold. Lock escalation threshold is 5000 locks for single reference of table or index by single T-SQL statement or when the number of locks in an instance of the Database Engine exceeds memory or configuration thresholds