Make sure AioLock objects can still be used as synchronous context managers.