Removing portal locks