1- Where can I read about Locks, filehandles and packet sending to hanglers and filesystems and any more related necessary stuff? (Ok the mentioned DOS Manual is one...)
DosPktGuide.lha has some documentation about dospackets, but is incomplete. Read dos.library audodoc about AllocDosObject(), FreeDosObject(), DoPkt(), SendPkt() and WaitPkt(). Also see dos/dosextern.h for struct DosPacket, struct FileHandle and struct FileLock.
Check examples found by
aminet find: packets