Implemented an alternate locking mechanism using system calls for acquire and release (Part 8)