Automatic Magnetic Lock Rail for Sliding Door Access Control