Add lock to lazy constructor

Test Plan: -

Reviewers: marcua

Reviewed By: marcua

Differential Revision: https://phabricator.locu.com/D7260