Level 2 Abjuration (Wizard). Material component. Full SRD 5.2.1 text below, then World Seed comparisons computed from all 339 SRD spells.
Arcane Lock
Level 2 Abjuration (Wizard)
Casting Time
Action
Range
Touch
Components
V, S, M (gold dust worth 25+ GP, which the spell consumes)
Duration
Until dispelled
You touch a closed door, window, gate, container, or hatch and magically lock it for the duration. This lock can’t be unlocked by any nonmagical means. You and any creatures you designate when you cast the spell can open and close the object despite the lock. You can also set a password that, when spoken within 5 feet of the object, unlocks it for 1 minute.
SRD 5.2.1, page 110
World Seed notes: Arcane Lock among level 2 spells
Among the 57 level 2 spells in SRD 5.2.1
Share
Arcane Lock
Need Concentration
51%
No
Can be cast as a Ritual
11%
No
Need a Material component
63%
Yes
Casting time “Action”
74%
Yes
School Abjuration
12%
Yes
Class lists
Arcane Lock is on 1 class list in its description. How many level 2 spells each of those classes has in SRD 5.2.1:
Changes made: SRD 5.2.1 text was extracted from the official PDF and converted into structured data (fields such as size, type, Challenge Rating, XP and spell level were split out; line-break hyphenation was removed; tables were reformatted). Spell description reformatted; level, concentration, ritual, component and class-list comparisons added (computed from SRD data). Original rules text is reproduced as published. Commentary, tactics, encounter suggestions and other material marked “World Seed notes” are original to world.hueseed.com and are not part of the SRD.
World Seed is 5E compatible. More on sources and licences: Licences.