Coding

Gdkdhfdj

It would be more convenient if you posted your program here.

Your problem sounds simple to solve. When step 1 has been completed then move on to step 2. What do you have a problem with ?

Can't look at your code as I'm using a cell phone, but I'm confident that the answer is yes.

sterretje:
but I'm confident that the answer is yes.

What's the question?

kumaran06:
Gdkdhfdj

The OP has vandalized his original post, so there is no longer a question

If I remember correctly, a code lock that could be opened with rfid or password. Needed to change to rfid with password.

We will never know, but as I remember it the requirement was to unlock something by first using an RFID tag followed by an entry from a keypad or maybe the other way round.

The OP didn't say what the problem was with the code that he attached.