A small, neat blob covering a screw head, seam, or joint can be more consistent with a tamper indicator or maintenance mark than with random candle wax.
That doesn’t tell you exactly who put it there or why, but it gives you a useful starting point.
If you’re renting, ask your landlord or property manager.
If you’re in a managed building, ask maintenance or building management.
If the lock was recently installed, contact the installer.
A quick question may solve the mystery immediately.