If you have the correct key for a for it will open. If a door is locked and you can't open it you might find the right key somewhere else
In the first room, I can only see one lock and one key. I can pick up the key but how do I put the key in the lock?
Oh sorry, we forgot to post controls before. F is interact it will open the door when you have the key