Java by API Java Util Concurrent Locks 3 codes