Issue #2334689 by er.pushpinderrana | joachim: Fixed lock_acquire() should give the character limit for the lock name.