Automated bluetooth and rfid locking system