Me working on a magnetic lock and motion sensor