isLocked improvement.

- Rewrote the method, there was some confusion between regex matches being found and regex matches being true, what was needed was a simple OR. 
- Added test, so if we get more use cases we can easily add them.
- Cleaned up the dumpsys log part.

what about this special samsung note handling?  Do we still need that?