Fatal error on calling sysLog() of lock object if locking method is unknown
If the front-end locking is set to an undefined method, e.g. "semaphoreVerySpecial", normally this should produce an entry in sysLog. But the $lockObj is not available since an exception was thrown there.
(issue imported from #M8182)