Add a lock to protect the critical region in Service APIs for gEfiSimpleTextOutProtoc...