1934. No lock or other device restricting access to a dwelling may be installed or changed without the consent of the lessor and the lessee.
If either party fails to comply with his obligation, the court may order him to allow the other party to have access to the dwelling.