Mother accused of locking son in basement