Update abstracts.py

Added lockedacquire to initialize a DB query for current locked machine