Hi, I'm Pete. Welcome to JustAnswer! I'm reviewing your question now, and will post back with your reply ASAP.
Are you using a wired or wireless keyboard with your Mac?
Can you try connecting another, wired keyboard, and let me know if it works?
Ok, glad to hear you got sorted.
Have a great day!Pete.