Apologies for the confusion! It's my goal to make sure my gameplay mechanics are smoother and cleaner in the future.
For now, first you need to pick up the keys. Then press tab until you're holding them. Lastly, with keys in hand, go up to a door and left click it once to lock.