CS311: Do byte level locking.