add isLocked method
Update all tests to use constants from MobilePlatform and
MobileBrowserType