Code example for FileChannel

Methods: lock, read