[BISERVER-10886] Adds a missing call to lock.lock()
Merge pull request #1160 from lucboudreau/master

[BISERVER-10886] Adds a missing call to lock.lock()
Merge pull request #1157 from mdamour1976/master

BISERVER-10544 Scheduling an PRPT/Analyzer Report to be Emailed as an Excel Format sends an unopenable Excel Document