To test this manually:
1. Without moving the cursor over the other button, click Pointer Lock Target1
2. With mouse now locked, attempt to move (not visible) cursor over the other button
3. Press escape to exit pointerlock
Test passes if mouse was properly locked, and "Info:" did not change to "fail".