Can the door access replace the lock?

It is not advisable as electronic devices are not fail-proof.