This is a follow-up to #26, it seems that only `tiocexcl` is currently used, but not `flock`. It would be nice to get support for `flock` as well, to catch more cases in which another application is already using the serial port. I can create a PR adding support for this, if it something that would be accepted.