Automatically adding UILocker to to view hierarchy