Report question

Question: Can the Java File method "canWrite()" support locking?